top of page
Search
dplyr or base R
dplyr and tidyverse are convenient frameworks for data management and technical analytic programming. With more than 25 years of R...
info104505
Nov 17, 20221 min read
1 view
0 comments


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...
-
May 14, 20201 min read
7 views
0 comments


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,...
-
Dec 17, 20197 min read
5 views
0 comments
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...
-
Dec 14, 20191 min read
3 views
0 comments
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...
-
Dec 3, 20191 min read
2 views
0 comments


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...
-
Oct 29, 20192 min read
3 views
0 comments


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...
-
Oct 29, 20192 min read
1 view
0 comments


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...
-
Apr 19, 20191 min read
0 views
0 comments


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...
-
Mar 10, 20191 min read
3 views
0 comments
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...
-
Mar 10, 20191 min read
1 view
0 comments


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=','...
-
Feb 24, 20191 min read
0 views
0 comments


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...
-
Feb 22, 20191 min read
2 views
0 comments
Comorbidity indexes in SQL
Generating Elixhauser comorbidity index from Danish National Health Register as relational database. (ICD 10 Coding in SAS) A...
-
Feb 4, 20198 min read
0 views
0 comments


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 -...
-
Jan 4, 20192 min read
0 views
0 comments


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...
-
Dec 15, 20182 min read
1 view
0 comments
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...
-
Apr 19, 20181 min read
0 views
0 comments


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...
-
Dec 28, 20172 min read
3 views
0 comments


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...
-
Oct 9, 20171 min read
1 view
0 comments


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...
-
Oct 6, 20171 min read
1 view
0 comments


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...
-
Oct 1, 20172 min read
3 views
0 comments
bottom of page