Wojtek
• Member for 11 years, 5 months
• Last seen more than 6 years ago
• Lodz, Poland

Almost always in randomized trials Almost always in observational study when someone measure all confouders (almost never) Sometimes when someone measure some counfounders (IC* algorithim of DAG ...

There are two definitions of statistical independence: 1) P(A,B)=P(A)*P(B) <=> 2) P(A|B)=P(A) <=> 2a) P(B|A)=P(B). (<=> means if and only if) So to answer your question: both are valid. ...

Another solution to your problem (without transforming variables) is regression with error distribution other then Gaussian for example Gamma or skewed t-Student. Gamma is in GLM family, so there is a ...

In this case Poisson is good approximation for distribution for number of cases. There is simple formula to approximate variance of log RR (delta method) . log RR = 10/3 = 1.2, se log RR = sqrt(1/3+...

You can use multinom from nnet package for multinomial regression. Post-hoc tests you can use linearHypothesis from car package. You can conduct test of independence using linearHypothesis (Wald test)...

For data in IQR range you should use truncated normal distribution (for example R package gamlss.tr) to estimate parameters of this distribution. Another approach is using mixture models with 2 or 3 ...

You can try gamlss.cens package.

P value from theoretical point of view is some realization of random variable. There is some standard (in probability) to use upper case letters for random variables and lower case for realizations. ...

You can calculate SD for each person and its standard error (for example using bootstrap). Then you can use rmeta package to do analysis. I think you should use some transformation of SD for example ...

Answer to Goal 1: aggregate(. ~ Currency, data=subset(c,select=c("Currency", names(sapply(c,is.numeric)))),sum)