# All Questions

19 views

### how to random sample proportional to probabilities

I have a ten-sided die, where I know the probabilities of rolling some, but not all of the values on the die: ...
16 views

### K-Nearest Neighbour Classifier accuracy [migrated]

I followed an example of the MATLAB KNN classifier with 10 fold cross validation, I am lost at the stage of computing the model's performance, Please kindly look at my code below and advice on how i ...
15 views

21 views

### Is representativeness a necessary condition for generalisability?

If a large sample of volunteers were not representative of a specific population, would it necessarily mean that any conclusion of a study performed with sound methodology on this sample could not be ...
17 views

### IBM SPSS QUESTION: Measure the perception of the respondents

My problem to solve with IBM SPSS is: I have got answers to a question about X topic that contains 15 options of multiple response and I want to characterize the perception of the correspondents ...
9 views

### Repeated measures ANOVA with custom standard errors

I want to see if there's a difference in size of some cells after several measurements, compared to a baseline (0.5, 1, 3, 6 hours versus 0 hours). I have 3 samples. Each measurement is actually a ...
26 views

### how to determine if two dice are fair using pymc and roll data

My scenario is that I have two six-sided dice (D1 and D2), either of which may be fair or loaded (biased). I have samples of combined roll data (i.e. D1 + D2). I would like to view the posterior ...
5 views

### Partial least squares for expression datasets

I'm quite new to the applications of partial least squares regression analysis, and was hoping I could get an overview of how this analysis can be applied to the datasets I have. I have two datasets: ...
31 views

### What is the distribution family where one side is with light tail but the other side with heavy tail?

For example the distribution of weights of human. There are not many adults under 40 kg, but a lot more people heavier than 100 kg, although the average of an adult's weight is, let's say, 70 kg. ...
4 views

### is there no need for a washout period when using Balaam Design

Balaam design is a crossover design for comparison of regimen A with regimen B in which subjects are randomly allocated to one of four sequences: AA, AB, BA or BB. Sequence AA means that the ...
33 views

204 views

45 views

### can someone fix this cognitive dissonance I have about marginals?

Consider two Bayesian updates, where there are two observations. One updates with respect to $x_1$, and then uses the posterior of that as a prior to update with respect to $x_2$. In both cases, $x_1$ ...
### If $E[Y|X]=a$ for some constant $a\neq 0$, then does $cov(X,Y)=0$?
I'm currently working on the following problem: Q: If $E[Y|X]=a$ for some constant $a\neq 0$, then does $cov(X,Y)=0$? Now I am quite lost as to how to do this problem as the question does not ...