기본 콘텐츠로 건너뛰기

라벨이 comparison인 게시물 표시

[matplotlib]quiver()함수

Comparison of two independent groups

Contents Equal Variances in Small Sampless> Different Variances in Small Samples Large sample Comparison of two independent groups The means of two independent probability variables, X and Y, each of which follows a normal distribution, can be compared by applying a hypothesis test: $$\begin{align}\bar{X}&=\frac{\sum^n_{i=1} X_i}{n_X} \sim N\left(\mu_X, \frac{\text{s}_X}{n_X}\right)\\ \bar{Y}&=\frac{\sum^n_{i=1} Y_i}{n_Y} \sim N\left(\mu_Y, \frac{\text{s}_Y}{n_Y}\right)\end{align}$$ Even if each sample group does not assume a normal distribution, approximately normal distribution is satisfied according to the central limit theorem . To compare the two groups, set the following null hypothesis for the difference between each mean: $$\text{H0} : \mu_X -\mu_Y =0$$ The hypothetical test statistics are calculated from a combined distribution of two groups. That is, the mean and standard deviation of the combined probability distributions of X and Y are calculated as...

코틀린 연산자 (2)

비트 연산자 연산자 의미 and, .and(bits)       and, 모두 true일경우만 true or, .or(bits)        or, 모두 false일경우만 false xor, .xor(bits)         배타적 OR, 두 값이 다르면 true .inv(bits)          not,  보수 연산으로 반전 .shr(bits)          not,  지정한 비트수 만큼 오른쪽으로 이동 .shl(bits)          not,  지정한 비트수 만큼 왼쪽으로 이동 .ushr(bits)          not,  부호 고려하지 않고 지정한 비트수 만큼 오른쪽으로 이동 fun main() {     val a = 1     val b = 0     println("and: ${a and b},  or: ${a or b}, xor: ${a.xor(b)}, inv: ${a.inv()}") }       and: 0,  or: 1, xor: 1, inv: -2 1 shl 2  //1을 왼쪽으로 2 비트 이동  res1: kotlin.Int = 4 4 shr 2 //4를 오른쪽으로 2비트 이동 res2: kotlin.Int = 1 10진수를 2진수로 변환하기 위해 다음 메소드를 적용합니다. 객체.toString(2) : 10 진수인 객체를 2진수로 변환 다음과 같이 1과 4를 이진수로 변환하면 다음과 같습니다. ...