home.social

#rstatistics — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #rstatistics, aggregated by home.social.

fetched live
  1. Visual Representation of Complex Data Using R: The tm and wordcloud Packages: Part Two

    In part one of this tutorial, I discussed the use of the tm and wordcloud packages to create a visual representation of the most frequently used words in the 2026 Presidential State of the Union Address. I also discussed the code needed to generate an initial analysis of the wordcloud with a list of the 15 most used words and their frequency. I also discussed code that calculated a matrix consisting of the relative strength of association among 10 most commonly used words and other words used […]

    dmwiig.net/2026/08/28/visual-r

  2. Take Your R Projects on the Road: Using R on Your Raspberry Pi, Adroid Device, and iPhone

    This post explores using R and RStudio with Raspberry Pi, Android OS and iPhone. A simple R programming example is provided.

    dmwiig.net/2026/08/18/take-you

  3. Functions for model selection Use regsubsets (leaps) With (In) R Software
    dik.si/regsubsets
    Forward Model Selection using AIC or BIC Use aic_model_selection With STATA 19
    ln.run/aic_model_selection
    #rstudio #rstats #rsoftware #rstatistics

  4. Calculating R-squared measures for multilevel models Use r2mlm With (In) R Software
    dik.si/r2mlm
    Compute r-squared measures for models estimated by mixed Use r2_mlm With STATA 19
    ln.run/r2_mlm
    #rstudio #rstats #rsoftware #rstatistics

  5. The contaminated negative binomial regression model Use ml.cnb With (In) R Software
    dik.si/mlcnb
    Estimation of regression order statistics Use ros With STATA 19
    ln.run/_ros
    #rstudio #rstats #rsoftware #rstatistics

  6. Fitting Count Regression Models with Latent Covariates Use countreg (lavacreg) With (In) R Software
    ln.run/countreg
    Perform trimming or Winsorising on a series or group With Eviews 13
    ristek.link/Winsor
    #rstudio #rstats #rsoftware #rstatistics

  7. Estimating risk ratios and risk differences using regression Use riskratio and riskdiff With (In) R Software
    ln.run/risks
    Population attributable risks from binary regression models Use regpar With STATA 19
    ristek.link/regpar
    #rstudio #rstats #rsoftware #rstatistics

  8. Difference-in-Differences with a Continuous Treatment Use cont_did (contdid) With (In) R Software
    dik.si/cont_did
    Calculate standardized differences between groups for continuous and categorical variables Use stddiff With STATA 19
    ln.run/stddiff
    #rstudio #rstats #rsoftware #rstatistics

  9. Came across this useful R website for visualizing different color palettes, without having to load them directly into R! Lots of options for choosing how many colors you want, how they look for someone who is colorblind, etc.

    r-graph-gallery.com/color-pale

    #R #RStatistics #statistics #graphs #DataVisualization

  10. Estimate Multinomial Logit Models with Observed and Unobserved Individual Heterogeneity Use gmnl With (In) R Software
    dik.si/ggmnl
    Instrumental variables estimation using heteroskedasticity-based instruments Use ivreg2h With STATA 19
    ln.run/ivreg2h
    #rstudio #rstats #rsoftware #rstatistics

  11. General Linear Hypotheses Use glht (multcomp) With (In) R Software
    dik.si/_glht
    Tukey-Kramer pairwise comparisons Use tkcomp With STATA 19
    ln.run/tkcomp
    #rstudio #rstats #rsoftware #rstatistics

  12. Marginal Effects Estimation for Model Objects Use margins With (In) R Software
    ln.run/margins
    Pairwise multiple comparisons of means with unequal variances Use pwmc With STATA 19
    ristek.link/pwmc
    #rstudio #rstats #rsoftware #rstatistics

  13. Multiple Correspondence Analysis (MCA) Use MCA (FactoMineR) With (In) R Software
    ln.run/_MCA
    Simple Correspondence Analysis Use coranal With STATA 19
    ristek.link/coranal
    #rstudio #rstats #rsoftware #rstatistics

  14. Analysis of the Elements of Metacommunity Structure Use Metacommunity (metacom) With (In) R Software
    dik.si/Metacommunity
    Cumulative meta-analysis, with graphics Use metacum With STATA 19
    ln.run/metacum
    #rstudio #rstats #rsoftware #rstatistics

  15. Robust estimation for meta-analysis with influential outlying studies Use rmeta (robustmeta) With (In) R Software
    ln.run/rmeta
    Implement robust error meta-regression method for dose–response meta-analysis Use remr With STATA 19
    ristek.link/remr
    #rstudio #rstats #rsoftware #rstatistics

  16. Perform a univariate meta-analysis Use uvmeta (metamisc) With (In) R Software
    dik.si/uvmeta
    Calibration plots and tests for Cox proportional hazards model Use stcoxcal With STATA 19
    ln.run/stcoxcal
    #rstudio #rstats #rsoftware #rstatistics

  17. Fixed effects maximum likelihood models Use femlm (FENmlm) With (In) R Software
    ln.run/femlm
    Perform meta-analysis of aggregate (summary) data Use admetan With STATA 19
    ristek.link/admetan
    #rstudio #rstats #rsoftware #rstatistics

  18. Comparing Two-Sample (Mean Cumulative Function) MCFs (Two-Sample Pseudo-Score Tests) Use mcfDiff (reda) With (In) R Software
    ln.run/mcfDiff
    Eventbaseline Correct event study after xthdidregress Use eventbaseline With STATA 19
    ristek.link/eventbaseline
    #rstudio #rstats #rsoftware #rstatistics

  19. PE Test for Linear vs. Log-Linear Specifications Use petest (lmtest) With (In) R Software
    dik.si/petest
    Beach-Mackinnon AR(1) Autoregressive Maximum Likelihood Estimation Use alsmle With STATA 19
    ln.run/alsmle
    #rstudio #rstats #rsoftware #rstatistics

  20. Aalen's additive regression model for censored data Use aareg (survival) With (In) R Software
    ln.run/aareg
    Aalen's linear hazards model analysis Use stlh With STATA 19
    ristek.link/stlh
    #rstudio #rstats #rsoftware #rstatistics

  21. Competings Risks Regression Model Use comp.risk (timereg) With (In) R Software
    dik.si/timereg
    Flexible parametric competing-risks regression models Use stpm2cr With STATA 19
    ln.run/stpm2cr
    #rstudio #rstats #rsoftware #rstatistics

  22. Cost-Effectiveness Analysis for Clinical Trials Use cea and boot_icer (CEACT) With (In) R Software
    dik.si/CEACT
    Multiple hypothesis testing controlling And correction for FWER Use mhtreg With STATA 19
    ln.run/mhtreg
    #rstudio #rstats #rsoftware #rstatistics

  23. Free disposal hull (FDH) model Use model_fdh (deaR) With (In) R Software
    ln.run/model_fdh
    Introduction to cost-effectiveness analysis Use cea With STATA 19
    ristek.link/cea
    #rstudio #rstats #rsoftware #rstatistics

  24. Meta-analysis of single proportions Use metaprop (meta) With (In) R Software
    dik.si/metaprop
    Fixed and random effects meta-analysis of proportions Use metaprop With STATA 19
    ln.run/metaprop
    #rstudio #rstats #rsoftware #rstatistics

  25. Principal Component Regression Model Use pcr (analogue) With (In) R Software
    ln.run/_pcr
    Perform fixed and random effects meta-analysis of proportions Use metaprop_one With STATA 19
    ristek.link/metaprop_one
    #rstudio #rstats #rsoftware #rstatistics

  26. Analytic Hierarchy Process (AHP) for Survey Data Use ahp (ahpsurvey) With (In) R Software
    dik.si/ahpsurvey
    Calculation comprehensive scores based on the entropy method or the entropy-TOPSIS method Use topsis With STATA 19
    ln.run/topsis
    #rstudio #rstats #rsoftware #rstatistics

  27. Zivot and Andrews Unit Root Test Use ur.za (urca) With (In) R Software
    dik.si/ur_za
    Zivot-Andrews unit root test in presence of structural break Use zandrews With STATA 19
    ln.run/zandrews
    #rstudio #rstats #rsoftware #rstatistics

  28. Dynamic panel model with fixed effects Use DPML (DPTM) With (In) R Software
    ln.run/DPML
    Westerlund error-correction-based (ECM) panel cointegration tests Use xtwest With STATA 19
    ristek.link/xtwest
    #rstudio #rstats #rsoftware #rstatistics

  29. Finite Mixtures of Beta Regression for Rates and Proportions Use betamix (betareg) With (In) R Software
    dik.si/betamix
    Mixture beta regression model Use betamix With STATA 19
    ln.run/betamix
    #rstudio #rstats #rsoftware #rstatistics

  30. Overdispersion Test - Cameron & Trivedi (1990) in Count Data Multiple Regression Analysis Use overdisp With (In) R Software
    ln.run/_overdisp
    Fitting (fit) a two-parameter beta distribution by maximum likelihood Use betafit With STATA 19
    ristek.link/betafit
    #rstudio #rstats #rsoftware #rstatistics

  31. Get marginal effects from model terms Use ggeffect (ggeffects) With (In) R Software
    dik.si/ggeffect
    A direct command to detect overdispersion in count-data models Use overdisp With STATA 19
    ln.run/overdisp
    #rstudio #rstats #rsoftware #rstatistics

  32. Baseline-Category Logit Models for Categorical and Multinomial Responses Use mblogit (mclogit) With (In) R Software
    ln.run/mblogit
    Stata macros for multinomial conditional logit models Use mclest With STATA 19
    ristek.link/mclest
    #rstudio #rstats #rsoftware #rstatistics

  33. Lipsitz goodness of fit test for ordinal logistic models Use lipsitz.test (generalhoslem) With (In) R Software
    ristek.link/lipsitz.test
    Goodness-of-fit test for multinomial logistic regression models Use mlogitgof With STATA 19
    ln.run/mlogitgof
    #rstudio #rstats #rsoftware #rstatistics

  34. Goodness of Fit Measures for a Regression Hierarchy Use all.regs (hier.part) With (In) R Software
    ristek.link/all.regs
    Computes confidence intervals, standard errors, and p-values in a linear regression in which the regressor of interest has a shift-share structure Use reg_ss With STATA 19
    ln.run/reg_ss
    #rstudio #rstats #rsoftware #rstatistics

Share on Mastodon

Enter the server where you have an account.