- UCLA: How do I locate the SAS temporary work directory?
- Check and change current folder:
- check: %put === Current path is: %sysfunc(pathname(&fr)) ===;
- double-click the dialog box at right bottom corner, then change it to the folder you prefer
- use SAS command 'X' in a SAS program: X 'cd "c:\XYZ"';
- Set SAS work directory:
Disclaimer: This blog site is intended solely for sharing of information. Comments are warmly welcome, but I make no warranties regarding the quality, content, completeness, suitability, adequacy, sequence, or accuracy of the information.
Tuesday, February 27, 2018
SAS: Change folder directory
SAS: How to Change Folder Directory
Thursday, August 24, 2017
Effect of population screening for type 2 diabetes
Effect of population screening for type 2 diabetes
by Medical Xpress August 24, 2017
"Three large trials published today in Diabetologia (the journal of the European Association for the Study of Diabetes) show that screening for type 2 diabetes and cardiovascular risk factors may not reduce mortality and cardiovascular disease in the general population. However, for individuals diagnosed with diabetes, screening is associated with a reduction in mortality and cardiovascular disease risk. " full text
Articles mentioned in this news:
by Medical Xpress August 24, 2017
"Three large trials published today in Diabetologia (the journal of the European Association for the Study of Diabetes) show that screening for type 2 diabetes and cardiovascular risk factors may not reduce mortality and cardiovascular disease in the general population. However, for individuals diagnosed with diabetes, screening is associated with a reduction in mortality and cardiovascular disease risk. " full text
Articles mentioned in this news:
- Simmons (2017). Effect of population screening for type 2 diabetes and cardiovascular risk factors on mortality rate and cardiovascular events: a controlled trial among 1,912,392 Danish adults
- Simmons (2017). Effect of screening for type 2 diabetes on risk of cardiovascular disease and mortality: a controlled trial among 139,075 individuals diagnosed with diabetes in Denmark between 2001 and 2009
- Feldman (2017). Screening for type 2 diabetes: do screen-detected cases fare better?
- Simmons (2017). Should we screen for type 2 diabetes among asymptomatic individuals? Yes
- Shaw (2017). Does the evidence support population-wide screening for type 2 diabetes? No
Friday, August 11, 2017
continuing professional education
Continuing Professional Education & Glossary by JECH
2008
2007
2006
2005
2008
- Hruschka (2008/11). A glossary of culture in epidemiology
- Gunasekara (2008/10). Glossary for econometrics and epidemiology
- Freeman (2008/9).Gone viral? Heard the buzz? A guide for public health practitioners and researchers on how Web 2.0
- Millar (2008/8). Glossary of terms relating to capture–recapture methods
- Starfield (2008/7). The concept of prevention: a good idea gone astray?
- Bambra (2008/1). The welfare state: a glossary for public health
- Bambra (2007/12). The psychosocial and health effects of workplace reorganisation. 2. A systematic review of task restructuring interventions
- De Mario (2007/10). Income inequality measures
- Laurent (2007/08). Effect of socioeconomic status on the relationship between atmospheric pollution and mortality
- Rutherford (2007/08). Violence: a glossary, and Violence: a priority for public health? (part 2)
- Bambra (2007/07). A politics of health glossary
- Whitehead (2007/06). A typology of actions to tackle social inequalities in health
- Deary (2007/05). Cognitive epidemiology
- Moore (2007/04). Public health preparedness: a systems-level approach
- Decullier (2007/03). Oral presentation bias: a retrospective cohort study
- Burger (2007/03). A glossary on psychiatric epidemiology
- Rezaeian (2007/02).Geographical epidemiology, spatial analysis and geographical information systems: a multidisciplinary glossary
- Tite (2007/01). Why do peer reviewers decline to review? A survey
- A glossary for the social epidemiology of work organisation
- Benach (2006/11). Part 1, Terms from social psychology
- Muntaner (2006/12). Part 2 Terms from the sociology of work and organisations
- Hadden (2007/01). Part 3, Terms from the sociology of labour markets
- Bray (2006/10). Advanced paternal age: How old is too old?
- Baum (2006/10). Participatory action research
- Whittaker (2006/10). Pragmatic randomised controlled trials in parenting research: the issue of intention to treat
- Alvarez-Dardet (2006/08). Democratisation and health after the fall of the Wall
- Susser (2006/08). A personal history: social medicine in a South African setting, 1952–5. Part 2: Social medicine as a calling: ups, downs, and politics in Alexandra Township
- Labonte (2006/08). Glossary of the World Trade Organisation and public health: part 1
- Labonte (2006/09). Glossary on the World Trade Organisation and public health: part 2
- Carpiano (2006/07). A guide and glossary on postpositivist theory building for population health
- Popay (2006/07). Whose theory is it anyway?
- Dunn (2006/07). Speaking theoretically about population health
- Vagero (2006/07). Where does new theory come from?
- Carpiano (2006/07). Theory building on the high seas of population health: Love Boat, Mutiny on the Bounty, or Poseidon Adventure
- Hernan (2006/07). Estimating causal effects from epidemiological data
- Loue (2006/06). Community health advocacy
- Eriksson (2006/05). Antonovsky’s sense of coherence scale and the relation with health: a systematic review
- Waters (2006/04). Evaluating the effectiveness of public health interventions: the role and activities of the Cochrane Collaboration
- Barreto (2006/03). Infectious diseases epidemiology
- King (2006/03). What same sex civil partnerships may mean for health
- Galobardes (2006/01). Indicators of socioeconomic position (part 1), and (part 2)
- Agyemang (2005/12). Labelling African origin populations in the health arena in the 21st
- Nguyen (2005/11). Terms in reproductive and perinatal epidemiology: I. Reproductive terms
- Nguyen (2005/12). Terms in reproductive and perinatal epidemiology: 2. Perinatal terms
- Krantz (2005/10). Violence against women
- Merlo. A brief conceptual tutorial on multilevel analysis in social epidemiology:
- 2005/09. Investigating contextual phenomena in different groups of people
- 2005/12. Interpreting neighbourhood differences and the effect of neighborhood characteristics on individual health
- 2006/04. Using measures of clustering in multilevel logistic regression to investigate contextual phenomena
- De Silva (2005/08). Social capital and mental illness: a systematic review
- McKee (2005/08). International cooperation and health. Part I: issues and concepts and Part 2: making a difference
- Baum (2005/07). Wealth and health: the need for more strategic public health research
- Neutra (2005/07). Glossary of terms used when discussing exposure to electric and magnetic fields
- Lindstrom (2005/06). Salutogenesis
- Merlo (2005/06). A brief conceptual tutorial of multilevel analysis in social epidemiology
- Krieger (2005/04). Embodiment: a conceptual glossary for epidemiology
- Khawaja (2005/04). Poverty
- Pless (2005/03). Injury prevention: a glossary of terms
- Spencer (2005/02). Social paediatrics
- Barnett (2005/02). Excess in cardiovascular events on Mondays: a meta-analysis and prospective study
- McLaren (2005/01). Ecological perspectives in health research
- Hawe (2004/12). A glossary of terms for navigating the field of social network analysis
- Halliday (2004/11). Genetics and public health—evolution, or revolution?
- Regidor (2004/10). Measures of health inequalities: part 1 and part 2
- Mackenbach (2004/09). Streets of Paris, sunflower seeds, and Nobel prizes. Reflections on the quantitative paradigm of public health
- Kawachi (2004/09). Five American authors on wealth, poverty, and inequality
- Almeida-Filho (2004/09). Saramago’s All the Names and the epidemiological dream
- Berridge (2004/09). History of addictions
- Delgado-Rodriguez (2004/08). Bias
- Rychetnik (2004/07). A glossary for evidence based public health
- Bhopal (2004/06). Glossary of terms relating to ethnicity and race: for reflection and debate
- Chapman (2004/05). Advocacy for public health: a primer
- Hernan (2004/04). A definition of causal effect for epidemiological research
- Jefferson (2004/04). Peer review
- Howden-Chapman (2004/03). Housing standards: a glossary of housing and health
- Barker (2004/02). Developmental origins of adult health and disease
- Rodriguez-Artalejo (2004/02). Cardiovascular epidemiology and prevention
- Tunstall (2004/01). Places and health
- Illich (2003/12). Medical nemesis
- Kuh (2003/10). Life course epidemiology
- Mindell (2003/09). A glossary for health impact assessment
- Malats (2003/06). Basic molecular genetics for epidemiologists
- Malats (2003/07). Basic glossary on genetic epidemiology
- Malats (2003/08). Advanced glossary on genetic epidemiology
- Baum (2003/05). Social capital
- Berridge (2003/03). Public health history
- Garcia (2003/01). A glossary for research in occupational health
Wednesday, August 09, 2017
how to estimate the risk and relative risk from logistic regression
How to estimate the risk and relative risk from logistic regression of a case-control study (OR to RR)
One advantage of odds ratios is that we can estimate it in a case-control study, when we usually oversample the cases. However, we cannot directly calculate the probability using logistic regression in a case-control study, since the beta(0) of the case-control study cannot represent the target population, which beta(0) of the target population is equal to beta(0) of the case-control study - log(sampling probability for cases/sampling probability for controls)
.
One advantage of odds ratios is that we can estimate it in a case-control study, when we usually oversample the cases. However, we cannot directly calculate the probability using logistic regression in a case-control study, since the beta(0) of the case-control study cannot represent the target population, which beta(0) of the target population is equal to beta(0) of the case-control study - log(sampling probability for cases/sampling probability for controls)
- King (2004). Inference under full population information in "Case-Control Studies, Inference in" of Encyclopedia of Biopharmaceutical Statistics
- Zhang (1998). What's the relative risk? A method of correcting the odds ratio in cohort studies of common outcomes
- Greenland (1981). Multivariate estimation of exposure-specific incidence from case-control studies
- Austin (2010). Overestimation of risk ratios by odds ratios in trials and cohort studies: alternatives to logistic regression
- Austin (2011). A Tutorial on Methods to Estimating Clinically and Policy-Meaningful Measures of Treatment Effects in Prospective Observational Studies: A Review
- Spiegelman (2005). Easy SAS calculations for risk or prevalence ratios and differences
- Bartlett (2015). Estimating risk ratios from observational data in Stata
- Chui (2013). A Regression-Based Method for Estimating Risks and Relative Risks in Case-Base Studies
- Knol (2012). Overestimation of risk ratios by odds ratios in trials and cohort studies: alternatives to logistic regression
Monday, July 10, 2017
The Celiac Surge
Article: The Celiac Surge
by Catherine Offord (TheScientist)
A rapid increase in the global incidence of the condition has researchers scrambling to understand the causes of the trend, and cope with the consequences. (Full Text)
Inforgraphic: Immune Irritation in the Gut
by Catherine Offord (TheScientist)
A rapid increase in the global incidence of the condition has researchers scrambling to understand the causes of the trend, and cope with the consequences. (Full Text)
Inforgraphic: Immune Irritation in the Gut
Wednesday, April 05, 2017
R! related
R! related
Blog: R Documentation and Learning Resources
IDE and GUI
Blog: R Documentation and Learning Resources
IDE and GUI
- RStudio is an IDE for R. RStudio combines an intuitive user interface with powerful coding tools to help you get the most out of R. RStudio Webinars
- Rcmdr is a GUI of R.
- esquisse is a great addin for ggplot2
- Deducer is a good but relative old GUI for exploring data like JMP with ggplot2 behind (Plot Builder). JGR is a Java GUI for R. (ggplot2 – much easier with JGR and Deducer). To use Deducer, you need - install.packages(c("JGR", "Deducer", "DeducerExtras")) -, submit: - library(JGR) -, - JGR() -; then, in the JGR console, to load Deducer, go to 'Packages & Data' > 'Package Manager' and select Deducer and DeducerExtras. more: all-in-one installing JGR and Deducer. Notes: 1) to set JAVA location using --- options(java.home="xxx/Java/") ---. 2) rJAVA ver 9.6 needs running under the 32 bit R! on my computers.
- GrapheR (pdf) is another GUI for draw customized graphs without knowing any R commands.
- Tessera - Open source environment for deep analysis of large complex data (Divide and recombine)
- The application Bio7 is an integrated development environment for ecological modelling and contains powerful tools for model creation, scientific image analysis (ImageJ) and statistical analysis.
- haven allows you to load foreign data formats (SAS, SPSS and Stata).
- SAS calls functions in R language (pdf): RUN ExportDatasetToR(“xxx.mydata”); PROC IML; SUBMIT /R; ... R codes ... ENDSUBMIT; QUIT; RUN ImportDataSetFromR("WORK.xxx", "xxx");
- Bewerunge (2011). Call R function from SAS (pdf)
- Plot symbols
- plot symbols (pch), size
- Color
- Pick a color site built in R with Shiny tags %$%
- R Color Cheat Sheet, Color, palette (ggplot2: ggplot2 color, Cookbook for R), chart of R! colors.
- RColorBrewer provides palettes for drawing nice maps shaded according to a variable.
- Wesanderson provides palettes derived from the Tumblr blog Wes Anderson Palettes.
- Simple Statistics: Colors in R
- Glynn (2007). Using color in R
- CRAN Task View organizes the packages into different groups such as Graphics, Survival Analysis, etc.
- margins: An introduction to 'margins'
- Transition from Excel to R!:
- DT: An R interface to the DataTables library
- excelR: An R interface to jExcel library to create web-based interactive tables and spreadsheets compatible with Excel or any other spreadsheet software
- DTedit: Editable DataTables for shiny apps
- rhandsontable is a htmlwidget based on the handsontable.js library.
- formattable is designed for applying formatting on vectors and data frames
- rpivotTable is a R wrapper for the great library pivottable
- Zelig is a general purpose statistics program fro estimating, interpreting, and presenting results from any statistical method. It turns the power of R with free ranging syntax, diverse examples, and documentation written for different audiences — into the same three commands and consistent documentation for every method
- Report and documentation
- knitr package was designed to generate dynamic report with R. Chunk options.
- rmarkdown is an authoring format that enables easy creation of dynamic documents, presentations, and reports from R.
- bookdown is to facilitate writing books and long-form articles/reports with R Markdown. Here are several very good free books published on the bookdown website
- Programming
- Devtools makes it so easy to build a package that it becomes your default way to organise code, data and documentation.
- Data I/O and manipulation
- data.table package provides an enhanced version of data.frame. Here is the manual and help. It's a star package on r-pkg.org.
- rio is a Swiss-army knife for data I/O.
- readr makes it easy to read many types of tabular data. -read_fwf()- is a powerful function for reading fixed width file, for example, read in the NCHS mortality file.
- Janitor has simple functions for examining and cleaning dirty data
- sqldf is an R package for running SQL statements on R data frames. sqldf supports SQLite database as default (SQLite syntax).
- haven allows you to load foreign data formats (SAS, SPSS and Stata).
- xlsx gives programatic control of Excel files using R.
- read.table() reads a file in table format and creates a data frame from it.
- arrow supports for analyzing large, multi-file datasets, working with individual Parquet and Feather files.
- MMWRweek: Convert dates to MMWR Day, Week, and Year
- dlookr: Diagnose, explore and transform data
- foreign read data stored by other system.
- dplyr is a new package which provides a set of tools for efficiently manipulating datasets in R. Introduction to dplyr. Notes: "Both data.table and dplyr were able to reduce the problem to less than a few seconds. If you’re looking for pure speed data.table is the clear winner. However, it is my understanding that data.table‘s syntax can be frustrating, so if you’re already used to the ‘Hadley ecosystem’ of packages, dplyr is a formitable alternative, even if it is still in the early stages."
- tidyr with spread() and gather(), a reframing of reshape2, is a new package that makes it easy to “tidy” your data.
- magrittr is a forward pipe operator. magrittr: Simplifying R code with pipes. History of Magrittr.
- Aggregation and restructure: reshape2 package with melt() or cast() function.Transpose using t() function, aggregating data using aggregate() function.
- lubridate is good for manipulating time and date.
- Stringr makes it easier to work with strings (article).
- Quick-R examples of outputing R data.
- RStudio addins: datapasta, ggthemeassist
- pdftools: Text Extraction, Rendering and Converting of PDF Documents (example)
- Survey related packages
- survey (Thomas Lumley) provides facilities in R for analyzing data from complex surveys. Complex sampling and R (pdf). Analyze US Government Survey Data with R. You can use "survey" to create replicate weights, and use withReplicates computes variances by replicate weighting.
- rpms is for Recursive Partitioning for Modeling Survey data
- lavaan.survey is for complex survey structural equation modeling (SEM). An R Package for Complex SurveyAnalysis of Structural Equation Models (pdf)
- sampling includes many different algorithms for drawing survey samples and calibrating the design weights.
- convey is a package for estimating indicators of income concentration and poverty (including gini coefficient, atkinson index, at-risk-of-poverty threshold etc.) wrapped around the Lumley's survey package by Anthony Damico. He has worked "analyze survey data for free with R language" for years (asdfree).
- GIS
- Pebesma: Spatial Data Science with application in R
- Methods Bites: Using Geospatial Data in R
- Pebesma: Simple Features for R
- R-spatial.org: Drawing beautiful maps programmatically with R, sf and ggplot2, Part 1, Part 2, Part 3
- geofacet: Introduction to geofacet
- ggmap is the easy visualization of spatial data and models on top of Google Maps, OpenStreetMaps, Stamen Maps, or CloudMade Maps using ggplot2. German Gas Prices illustrated, Cheatsheet
- Robin. Introductory tutorial on graphical display of geographical information in R
- Other packages: maps (draw geographical maps), maptools (reading and hadling spatial objects), mapdata (extra map databses), scales (scale functions for visualization), mapproj (map projections), RgoogleMaps (overlays on static maps)
- tidycensus is an R package that allows users to interface with the US Census Bureau’s decennial Census and five-year American Community APIs
- Data Visualization and Graphics
- The R graph Gallery
- Auguie: Laying out multiple plots on a page
- patchwork: to arrange your graphs easily
- ggplot2 (document) (You can build the book here: ggplot2: Elegant graphics for data analysis) is a plotting system for R, based on the grammar of graphics, which tries to take the good parts of base and lattice graphics and none of the bad parts. Cookbook for R is a great book. Tutorial websites: Tutorial I, Tutorial II. A good book website of Guide to Create Beautiful Graphics in R (Cheatsheet: Be Awesome in ggplot2). Beautiful plotting in R: A ggplot2 cheatsheet (pdf). Tutorial video (Part I and Part II) by Roger Peng
- ggplot2 extensions gallery
- ggThemeAssist is a RStudio-Addin and provides a GUI for editing ggplot2 themes
- esquisse is a addin, which allows you to interactively explore your data by visualizing it with the ggplot2 package.
- cowplot and ggstatsplot are add-on packages of ggplot2
- ggpubr provides some functions for creating figures based on publication requirement
- You may use ggplot_gtable() to plot data generated by ggplot_build() to find the plot objects (grob) (grobs <- font="" ggplot_build="" ggplot_gtable="" yourgraph="">->), then use the grid.draw() of grid package to draw them individually. Hadley Wickham has blogs about how to Mixing ggplot2 graphs with other graphical output, Editing raw Grid objects from a ggplot.
- ggedit is used to facilitate ggplot formatting
- A conversation with Hadley Wickham 2014 - Eduardo
- ggthemes is a package including some extra geoms, scales, and themes styles (the Economist, Excel, Stata, etc.) for ggplot2.
- GGally is designed to be a helper to ggplot2. It contains templates for different plots to be combined into a plot matrix, a parallel coordinate plot function, as well as a function for making a network plot.
- gtable is a package of tools to make it easier to work with ``tables'' of grobs, which is internally used by ggplot2. I used the gtable::cbind(..., size = "max", z = NULL) or gtable::rbind(..., size = "max", z = NULL) to match the size of plots.
- ggprepel is a ggplot2 extension to avoid overlapping text labels.
- Walker (2014). International population pyramids with ggplot2
- ggforce accelerates 'ggplot2'
- ggraph is an extension of ggplot2 tailored at plotting graph-like data structures (graphs, networks, trees, hierarchies...)
- WVPlots Provides examples of ggplot plots that can be generated from a standard calling interface
- classifierplots generates a visualization of binary classifier performance as a grid of diagonstic plots with just one function call
- ggalt: amke a dumbbell plot in ggplot2
- ggcharts aims to get you to your desired plot faster.
- Plotly: ggplotly of plotly package is a powerful tool to convert ggplot2 plots and create interactive, online ggplot2 charts with D3.js. Carson Sievert used this converter recreated Hadley Wickam’s entire ggplot2 documentation (here). Click-drag to zoom, shift-click to pan, double-click to autoscale. It's really amazing. Plotly Tutorial: Plotly and R
- grid and gridExtra are useful combined with ggplot2, for example:
- library(grid) # for unit() in ggplot2
- grid.arrange(p1, p2, p3, p4,ncol=2)
- ggvis new package for data visualization. Like ggplot2, it is built on concepts from the grammar of graphics, but it also adds interactivity, a new data pipeline, and it renders in a web browser.
- vcd for visualizing categorical data. Working with categorical data with R and the vcd and vcdExtra packages and Visualizing Categorical Data with SAS and R by Michael Friendly.
- Distribution visualization: vioplot for violin plot (examples of boxplot and violin plot). Hintze (1998). Violin Plots: A Box Plot-Density Trace Synergism. Violin plot using ggplot2. Boxplots and beyond: Part I, II: asymmetry, III: violin plots, IV: beanplots.
- venneuler is my favorite package for make a area proportional Venn and Euler Diagram simple and fast, I use it create diagrams then use Inkscape to modify them. A more complicated package is VennDiagram. Wilkinson (2012) introduced his venneuler package in the artilce "Exact and Approximate Area-proportional Circular Venn and EulerDiagrams". Chen (2011) compared some R! package and programs in the article "VennDiagram: a package for the generation of highly-customizable Venn and Euler diagrams in R" (Create a Venn diagram using MS Excel)
- venn = venneuler(c(a1c=.15, fpg=.11, ogtt=.13, 'a1c&fpg'=.1, 'fpg&ogtt'=.13, 'a1c&ogtt'=.4, 'a1c&ogtt&unknow'=.1))
- plot(venn)
- Vennerable package provides routines to compute and plot Venn diagrams, including the classic two- and three-circle diagrams but also a variety of others with different properties such as rectangular or square Venn diagram and for up to seven sets. It's not available at CRAN. You can install this package using: install.packages("Vennerable", repos = "http://R-Forge.R-project.org")
- googleVis - Google Motion Charts with R!
- colourlovers provides access to the COLOURlovers API, which offers color inspiration and color palettes
- Lattice is a powerful and elegant high-level data visualization system, with an emphasis on multivariate data.
- scatterplot3d provides routines for the visualization of multivariate data in a three dimensional space.
- iPlots is a package for the R! which provides high interaction statistical graphics, written in Java.
- rcharts is an R package to create, customize and publish interactive javascript visualizations from R using a familiar lattice style plotting interface.
- wordcloud2 and wordcloud create wordcloud for data visualization. Using R to create a Word Cloud from a PDF Document. 可能是目前最好的词云解决方案wordcloud2
- David Smith (2017).Packages to simplify mapping in R
- magick is a package of wrapping up of ImageMagick which is an image processing library
- networkD3: D3 JavaScript Network Graphs from R, good at Sankey Diagram
- Missing Imputation
- Amelia: A Program for Missing Data (missmap())
- Berk (2021): Handling missing data using XGBoost, XGBoost
- Josse: Handling missing values with R
- MissingDataGUI: a GUI for missing data exploration
- MICE: multiple imputation using fully conditional specification.
- Statistics/Machine Learning
- MLR – Machine Learning in R and MLR3 a scussor of MLR. Here is the mlr3 book
- tidymodes: a combination of multiple packages: parsnip, recipes, etc.
- tidyverse is a collection of popular packages for data munging from Hadley Wickham including ggplot2, dplyr, tidyr, readr, purrr, tibble, etc.
- bayestestR provides a comprehensive and consistent set of functions to analyze and describe posterior distributions generated by a variety of models objects, including popular modeling packages such as rstanarm, brms or BayesFactor.
- rms: is a package goes along with the book Regression Modeling Strategies
- caret is a set of functions that attempt to streamline the process for creating predictive models. Here are caret webinar and slides
- splines is now a part of R! standard/add-on packages/bundle. splines::ns() generate a matrix for natural cubic splines. Bendix tuned the ns() as Ns() in his Epi package, which used the smallest and the largest of the supplied knots as boundary knots. You can download the latest version on his website here.
- lavaan: latent variable analysis
- msm::deltamethod: delta method, FAQ UCLA
- nls can be used to determine the nonlinear (weighted) least-squares estimates of the parameters of a nonlinear model, which is similar to the 'nl' of stata and 'proc nlin' of SAS
- rpart is for the recursive partitioning for classification, regression and survival trees.
- Therneau (2015).An introduction to recursive partitioning using the RPART routines
- Classification Trees using the rpart function (2010)
- Let's have a "party" and tear this place "rpart"! (2013)
- Hmisc: Harrell Miscellaneous
- convey estimates measures of poverty, inequality, and wellbeing using the complex survey data
- deltavar() is a function in the emdbook packages of the book, which calculates delta-method-based variances for functions with any number of parameters
- deltavar(log(A/B),meanval=c(A=0.8,B=12),Sigma=matrix(c(0.1,0,0,8.0),nrow=2)) ---> 0.2118056 = ((1/A)^2*Var(A)+(1/B)^2*Var(B))^0.5
- deltavar(log(A/B),meanval=c(A=0.8,B=12),Sigma=c(0.1,8.0)) -> 0.2118056
- MASS is a classic package for Venables and Ripley's Modern Applied Statistics with S
- Bolstad is A set of R functions and data sets for the book Introduction to Bayesian Statistics, Bolstad, W.M. (2016). The "bayes.lin.reg" function may be used for combining the two estimates like meta-analysis.
- Psych: Using R for psychological research
- Electronic Health/Medical Record (EHR) related
Subscribe to:
Posts (Atom)