ancova

two-way ANCOVA: Analysis of Covariance in LibreOffice Calc

旧街凉风 提交于 2021-01-28 22:10:03
问题 Following this feature request, I want to know if/how I can have a macro to provide a simple GUI to do two-way ANCOVA (Analysis of Covariance) in Open/LibreOffice Calc. There is already an ANOVA tool in Calc, which does not comply with my understanding of the method (refrence): categorical dependent variable(s) and quantitative response as it seems to only accept continuous variables! So it is kind of an ANCOVA which only accepts covariants? I'm not really sure (example). Searching the

How to extract marginal means of multiple variables with effect() function?

你离开我真会死。 提交于 2020-08-09 07:47:07
问题 I'm a beginner of R, and I would like to perform ANCOVA in a dataset with over 200 columns of outcome variables. The most important thing for me is to extract both p values and marginal means of these variables. I successfully extracted p values with the help of lapply() function, but when I extracted marginal means I got such error Error in eval(predvars, data, env) : object 'x' not found . Here I use the built-in dataset "iris" as an example to display my problem. data("iris") #load