The tag has no wiki summary.

learn more… | top users | synonyms (1)

3
votes
1answer
148 views

How to generate survival data with time dependent covariates using R

I want to generate survival time from a Cox proportional hazards model that contains time dependent covariate. The model is $h(t|X_i) =h_0(t) \exp(\gamma X_i + \alpha m_{i}(t))$ where $X_i$ is ...
6
votes
1answer
99 views

creating multiple categorical variable with specified degree of association (correlation) matrix

Lets say I want to generate data with particular association matrix. I am taking phi coefficient` as measure degree of association. Here are examples using R. ...
0
votes
1answer
62 views

with Excel, generate 0 with n% probability OR generate 1 with (1-n)% probability

(first of all I simplified my question) depending on the input info below, I want to create proper excel function in output part. what I require verbally in output part under "status (0 or 1) ...
1
vote
0answers
215 views

Generate correlated AR process for given correlation between demand series

How can I generate two correlated $AR(1)$ data series with given correlation between $d_{1,t}$ and $d_{2,t}$, $r_{12}$, where $\rho_{12}$ is correlation between the two error series ...
5
votes
2answers
436 views

Random generation of n-dimensional data with possibly correlated variables

I would like to generate a set of artificial data using another input set from which correlations between variables can be extracted. Not all variables are binary, but the data can easily be extended ...
1
vote
1answer
963 views

How to generate correlated test data that has Bernoulli, categorical, and continuous vectors (in R)?

I'm looking to generate a set of 5 random variables and enforce a dependence structure between them and onto a dependent variable Y. I understand how to generate correlated random variables for ...
0
votes
0answers
60 views

Generative model that penalizes clumping of data

I'm interested in modeling a generative process that encourages data to be "evenly distributed" over its support, i.e. clumping of data points is penalized. For example, if I have a mixture ...
1
vote
2answers
129 views

What is the correct likelihood function for an sequential, adaptive data generation process?

Consider the following sequential, adaptive data generating process for $Y_1$, $Y_2$, $Y_3$. (By sequential I mean that we generate $Y_1$, $Y_2$, $Y_3$ in sequence and by adaptive I mean that $Y_3$ is ...