Difference between revisions of "An initial path towards statistical analysis"

From Sustainability Methods
Line 33: Line 33:
 
<div id="The dependent variable is normally distrbibuted">My data consists only of categorical variables</div>
 
<div id="The dependent variable is normally distrbibuted">My data consists only of categorical variables</div>
  
[[#Does your independent variable contain only 2 groups?| Does your independent variable contain only 2 groups?]]<br>
+
[[#Does your independent variable contain only 1 or 2 groups?| Does your independent variable contain only 1 or 2 groups?]]<br>
 
[[#Does your independent variable contain more than 2 groups?| Does your independent variable contain more than 2 groups?]]<br>
 
[[#Does your independent variable contain more than 2 groups?| Does your independent variable contain more than 2 groups?]]<br>
  
Line 53: Line 53:
 
====[[Generalised linear mixed effect models|Random factors]]====
 
====[[Generalised linear mixed effect models|Random factors]]====
  
 +
 +
<div id="Does your independent variable contain only 1 or 2 groups?">Does your independent variable contain more only 1 or 2 groups?</div>
 
==[[Simple Statistical Tests#one sample t-test|t-test]]<br>==
 
==[[Simple Statistical Tests#one sample t-test|t-test]]<br>==
  

Revision as of 13:17, 12 January 2021


Start here with your data


Univariate statistics

Does you data contain at least one categorical variable?
Yes, I have at least one categorical variable! (?)
No, I have only continuous variables! (?)


Multivariate statistics

Do you have several continuous variables without clear dependencies?


Categorical and continuous data

Does your data consist of categorical and continuous data? Does your data consist only of categorical data?


Does you categorical variable only contain two groups
Does you categorical variable contain more than two groups


More than 2 categorical variables


Is your dependent variable normally distributed?
Is your dependent variable not normally distributed?

My data consists only of categorical variables

Does your independent variable contain only 1 or 2 groups?
Does your independent variable contain more than 2 groups?

Does your independent variable contain more than 2 groups?

Analysis of Variance

Dependent variable normally distributed

INSERT TYPE II
Linear mixed effect model

Dependent variable not normally distributed

Type III Anova

Dependent variable is count data

Dependent variable is 0/1 or proportions

Random factors

Does your independent variable contain more only 1 or 2 groups?

t-test

My data consists only of categorical variables

Chi-Square test

Continuous variables

Non dependent relations? Correlations

Clear dependent relations Regression models
Dependent variable normally distributed
Linear Regression

Dependent variable not normally distributed

Generalised linear model

Dependent variable is count data

Dependent variable is 0/1 or proportions



Multivariate statistics



Resterampe

[[At least one continuous and one categorical variable| More than 2 groups Analysis of Variance
Dependent variable normally distributed
INSERT TYPE II
INSERT RANDOM FACTOR
INSERT LMM

Dependent variable not normally distributed

Type III Anova

Dependent variable is count data

Dependent variable is 0/1 or proportions

Random factors