Version info: Code for this page was tested in R Under development (unstable) (2012-02-22 r58461) On: 2012-03-28 With: knitr 0.4 Like other statistical software packages, R is capable of handling…
Read More
Search Results for: stata
How can I perform mediation with multilevel data? (Method 2) | R FAQ
Attention See this FAQ by Bauer that discusses the need to decompose within- and between-group effects when using this approach to ensure valid results (https://dbauer.web.unc.edu/wp-content/uploads/sites/7494/2015/08/Centering-in-111-Mediation.pdf). FAQ starts here Version info:…
Read More
How can I calculate Moran’s I in R? | R FAQ
Moran’s I is a measure of spatial autocorrelation–how related the values of a variable are based on the locations where they were measured. Using functions in the ape library, we…
Read More
How can I view my R code and output in html? | R FAQ
R FAQ: How can I view my R code and output in html? R FAQ How can I view my R code and output in html? The R2HTML package allows…
Read More
How can I perform seemingly unrelated regression in R? | R FAQ
A single model may contain a number of linear equations. In such a model, it is often unrealistic to expect that the equation errors would be uncorrelated. A set of…
Read More
How do I analyze survey data with a one-stage cluster design? | R FAQ
As a statistical programming language, R allows users to access precise statistics instead of simply printing a mass of output to the screen. The examples below highlight how to create…
Read More
How do I analyze survey data with stratification after sampling (poststratification)? | R FAQ
As a statistical programming language, R allows users to access precise statistics instead of simply printing a mass of output to the screen. The examples below highlight how to create…
Read More
How do I analyze survey data with a probability proportional to size sampling design? | R FAQ
As a statistical programming language, R allows users to access precise statistics instead of simply printing a mass of output to the screen. The examples below highlight how to create…
Read More
How can I do ratio estimation with survey data? | R FAQ
As a statistical programming language, R allows users to access precise statistics instead of simply printing a mass of output to the screen. The examples below highlight how to create…
Read More
How can I do regression estimation with survey data? | R FAQ
As a statistical programming language, R allows users to access precise statistics instead of simply printing a mass of output to the screen. The examples below highlight how to create…
Read More
