Publications by Daniel

Poisson regression

31.01.2024

Poisson regression \[ \mathrm{P}(Y=y \mid \lambda)=\frac{e^{-\lambda} \lambda^y}{y !} \] Poisson distribution not equal Poisson regression # numbers from x<-seq(0,30,1) # calculate the distribution function # based on the parameters pdf1<- dpois(x, 1) pdf2<- dpois(x, 7) pdf3<- dpois(x, 12) # Plotting the PDF plot(x,pdf1,type = "l") ...

1898 sym R (3659 sym/12 pcs) 4 img

Poisson regression

31.01.2024

Poisson regression Negative binomial regression is a popular generalization of Poisson regression because it loosens the highly restrictive assumption that the variance is equal to the mean made by the Poisson model. The traditional negative binomial regression model is based on the Poisson-gamma mixture distribution. This model is popular beca...

1810 sym R (3659 sym/12 pcs) 4 img

Common statistical distribution

31.01.2024

References and D. Joyce Continuous Distributions Normal distribution The Central Limit Theorem says sample means and sample sums approach normal distributions as the sample size approaches infinity (normal, t, chisq, f distributions). Probaility density function \[ f(x)=\frac{e^{-(x-\mu)^2 /\left(2 \sigma^2\right)}}{\sigma \sqrt{2 \pi}} \] ...

15596 sym Python (8074 sym/39 pcs) 38 img

Common statistical distribution

31.01.2024

Continuous Distributions Normal distribution Probaility density function \[ f(x)=\frac{e^{-(x-\mu)^2 /\left(2 \sigma^2\right)}}{\sigma \sqrt{2 \pi}} \] where \(\mu\) is the location (shift the graph)/center parameter and \(\sigma\) is the scale (stretch out the graph)/spread parameter. # numbers from x<-seq(-5,5,0.1) # calculate the dist...

12196 sym Python (7189 sym/35 pcs) 35 img

Bayesian Inference in R

29.01.2024

Reference etc Bayesian inference Let Y be a random variable representing the data. We have a (parametric) model for Y with Y∼f(y∣θ),θ∈Θ, Θ the parameter space. That is probability density function and can result in the likelihood function. Then we have a prior distribution represented by π(θ). Given an observation of Y, the posteri...

4749 sym 5 img

Bayesian Inference in R

28.01.2024

Reference etc Bayes’ theorem Let Y be a random variable representing the data. We have a (parametric) model for Y with Y∼f(y∣θ),θ∈Θ, Θ the parameter space. That is probability density function and can result in the likelihood function. Then we have a prior distribution represented by π(θ). Given an observation of Y, the posterior...

3434 sym 4 img

Bayesian Inference in R

26.01.2024

Reference etc Bayes’ theorem Let Y be a random variable representing the data. We have a (parametric) model for Y with Y∼f(y∣θ),θ∈Θ, Θ the parameter space. That is probability density function and can result in the likelihood function. Then we have a prior distribution represented by π(θ). Given an observation of Y, the posterior...

1961 sym 1 img

Bias analysis and control

25.01.2024

Refrerence Selection Bias Selection Bias, occurs when the study selected population doesn’t represent the target population (like refuse answer and leave study). No selection bias if the response rate is 100%. bias_parms is 4 probabilities: among cases exposed (1), among cases unexposed(2), among noncases exposed(3), and among noncases un...

5042 sym R (18864 sym/52 pcs)

Statistics in clinical trial

23.01.2024

Brief summary from the book Introduction The clinical statistician determines the statistical methodology for the trial; evaluates the trial length; for randomized trials, randomizes group allocations for subjects; monitors the data; analyzes the data; and provides the interim data reports for DSMBs and the final FDA (EC/EMEA) report. A typic...

16883 sym

Mixed effect model- Introduction

23.01.2024

Brief summary from the book Random Intercept Model It is assumed that there is a within-subject correlation of the response variable across time, whereas the between-subject correlation is negligible. A random intercept model has the form \[ y_{i j}=\beta_{0}+\beta_{1} x_{1 i j}+\cdots+\beta_{p} x_{p i j}+\beta_{p+1} t_{j}+u_{i}+\varepsilon_...

21164 sym