UCLA Academic Technology Services HomeServicesClassesContactJobs
Stat Computing > R > Data Analysis Examples

R Data Analysis Examples

The pages below contain examples (often hypothetical) illustrating the application of different statistical analysis techniques using different statistical packages. Each page provides a handful of examples of when the analysis might be used along with sample data, an example analysis, explanation of the output, a short sample write-up, followed by references for more information. These pages merely introduce the essence of the technique and do not to provide a comprehensive description of how to use it.

The combination of topics and packages reflect questions that are often asked in our statistical consulting. As such, this heavily reflects the demand from our clients at walk in consulting, not demand of readers from around the world. Many worthy topics will not be covered because they are not reflected in questions by our clients. Also, not all analysis techniques will be covered in all packages, again largely determined by client demand. If an analysis is not shown in a particular package, this does not imply that the package cannot do the analysis, it may simply mean that the analysis is not commonly done in that package by our clients.

     Stata   SAS    SPSS    Mplus     G*Power   Sample_Power
Regression Models                            
  Robust Regression   Stata   SAS           R        
Models for Binary and Categorical Outcomes                            
  Logistic Regression   Stata   SAS   SPSS   Mplus   R        
  Exact Logistic Regression   Stata   SAS                    
  Multinomial Logistic Regression   Stata   SAS   SPSS   Mplus   R        
  Ordinal Logistic Regression   Stata   SAS   SPSS   Mplus   R        
Probit Regression    Stata    SAS    SPSS    Mplus   R        

Count Models

                           
Poisson Regression   Stata   SAS   SPSS   Mplus   R        
Negative Binomial Regression   Stata   SAS   SPSS   Mplus   R        
Zero-inflated Poisson Regression   Stata   SAS       Mplus   R        
Zero-inflated Negative Binomial Regression   Stata   SAS       Mplus   R        
Zero-truncated Poisson   Stata                        
Zero-truncated Negative Binomial   Stata                        

Censored and Truncated Regression

                           
  Tobit Regression   Stata   SAS       Mplus            
  Truncated Regression   Stata   SAS                    
  Interval Regression   Stata   SAS                    
Multivariate Analysis                            
  One-way MANOVA   Stata   SAS   SPSS       R        
  Discriminant Function Analysis   Stata   SAS   SPSS       R        
Factor Analysis   Stata   SAS   SPSS   Mplus   R        
  Canonical Correlation Analysis   Stata   SAS   SPSS       R        
  Multivariate Multiple Regression   Stata   SAS                    
  Seemingly Unrelated Regression    Stata   SAS                    

Power Analysis / Sample Size

                           
Single-sample t-test   Stata   SAS           R   G*Power   Sample_Power
Paired-sample t-test   Stata   SAS           R   G*Power   Sample_Power
Independent-sample t-test   Stata   SAS           R   G*Power   Sample_Power
Two Independent Proportions   Stata   SAS               G*Power   Sample_Power
One-way ANOVA   Stata   SAS               G*Power   Sample_Power
Multiple Regression   Stata   SAS               G*Power   Sample_Power
Accuracy in Parameter Estimation   Stata                        
Logistic Regression                           Sample Power
Other                            
Latent Class Analysis               Mplus            
                             

 


How to cite this page

Report an error on this page

UCLA Researchers are invited to our Statistical Consulting Services
We recommend others to our list of Other Resources for Statistical Computing Help
These pages are Copyrighted (c) by UCLA Academic Technology Services


The content of this web site should not be construed as an endorsement of any particular web site, book, or software product by the University of California.