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

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  
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    
Probit Regression    Stata    SAS    SPSS    Mplus   R

Count Models

                   
Poisson Regression   Stata   SAS   SPSS   Mplus   R
Negative Binomial Regression   Stata               R
Zero-inflated Poisson Regression   Stata           Mplus    
Zero-inflated Negative Binomial Regression   Stata                
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        
  Discriminant Function Analysis   Stata   SAS   SPSS        
  Canonical Correlation Analysis   Stata   SAS   SPSS       R
  Multivariate Multiple Regression   Stata                
  Seemingly Unrelated Regression                    

Power Analysis / Sample Size

                   
Single-sample t-test   Stata   SAS           R
Paired-sample t-test   Stata   SAS           R
Independent-sample t-test   Stata   SAS           R
Two Independent Proportions   Stata   SAS            
One-way ANOVA   Stata   SAS            
Multiple Regression   Stata   SAS            
Accuracy in Parameter Estimation   Stata                
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