top of page
Search
info104505
Nov 17, 20221 min read
dplyr or base R
dplyr and tidyverse are convenient frameworks for data management and technical analytic programming. With more than 25 years of R...
1 view0 comments
-
May 14, 20201 min read
The power of SAS Proc SGPLOT: Survival Plots
Obtaining the power of SGPLOT using ods output features. In the example below I have placed the y-axis label in top horizontal position...
7 views0 comments
-
Dec 17, 20197 min read
Simulation of hemophilia bleeds
A SAS simulation study describing bleeds in hemophilia type A and B patients. Based on the “proof-of-concept study” Randomized,...
5 views0 comments
-
Dec 14, 20191 min read
SAS University Edition load error solution
Using SAS University Edition with VirtualBox in Fedora requires kernel signing of 3 modules. Avoid this by disabling Secure Boot in BIOS...
3 views0 comments
-
Dec 3, 20191 min read
Indicators from numeric factor variables
The macro call below will generate indicators for all factor levels of xfaktor from the data set regdata represented by at least 5...
2 views0 comments
-
Oct 29, 20192 min read
Graphics in SAS SGPLOT illustrating ANOVA analysis results.
Output and graphics from statistical programming packages are often time-consuming to read and interpret. In peer-reviewed publications...
3 views0 comments
-
Oct 29, 20192 min read
T tests in censored normal distribution
T-tests assume normal distributed random variates. We experience designs in which data take on a particular value and are otherwise...
1 view0 comments
-
Apr 19, 20191 min read
Up-and-down dose response study design
Dose response model and biased coin up-and-down design estimating EV90. A simulation study with a boundary condition and addition of...
0 views0 comments
-
Mar 10, 20191 min read
Stata Workflow optimization with GRAPHLOG
The basic workflow recommendations for Stata code and folder hierarchy given by Scott Long is relative easy to extend with inclusion of...
3 views0 comments
-
Mar 10, 20191 min read
Set Exchange Server properties
Guided by principles in GDPR you may wish to delete mail older than 3 months from your inbox. This should be a principle for all office...
1 view0 comments
-
Feb 24, 20191 min read
Half-whiskers plot of difference in treatment effect
Below an alternative graphical representation of difference in treatment effects. data ests; missing z; infile datalines delimiter=','...
0 views0 comments
-
Feb 22, 20191 min read
CUSUM plots for operating time
CUSUM plots have seen application within time series and quality analysis. For both numeric, binary, ordinal and polytomous outcomes we...
1 view0 comments
-
Feb 4, 20198 min read
Comorbidity indexes in SQL
Generating Elixhauser comorbidity index from Danish National Health Register as relational database. (ICD 10 Coding in SAS) A...
0 views0 comments
-
Jan 4, 20192 min read
Produce animation in R illustrating uniform and Gaussian density
#Number of simulations and chunk-size sN <- 265 sM <- 10 #Line from 0 to 1 will be divided into 40 bins bin <- seq(0 + (1 / 40) / 2, 1 -...
0 views0 comments
-
Dec 15, 20182 min read
Prevalence models in health science
I chose to divide generic prediction models applied in health science and administration into two main groups: Models based on general...
1 view0 comments
-
Apr 19, 20181 min read
Illustrative plots and tables (SAS macro)
Basic SAS macros for basic summary statistics and illustrative plots. Features ttests, Van der Waerden and Wilcoxon tests for continuous...
0 views0 comments
-
Dec 28, 20172 min read
Macro scheme for generation of RFM-I data
Recency, frequency, monetary – interaction (RFM-I) are guiding principles for extracting customer data in the process of generating...
3 views0 comments
-
Oct 9, 20171 min read
Extracting variables and estimates from SAS prediction models
SAS ods output statements provide a simple alternative to advanced text manipulation techniques. The example below extracts selected...
1 view0 comments
-
Oct 6, 20171 min read
Extracting selected variables from the hpgenselect procedure using code
Several SAS procedures generate code from which the user may extract critical information. In the example below I extract variables...
0 views0 comments
-
Oct 1, 20172 min read
Modeling gender and age adjusted incidence rates
National Health Institute (NHI) provides a tool box for calculation of cancer incidence and percentage change. Their algorithm for...
3 views0 comments
bottom of page