Skip to main content

Questions tagged [simulation]

A vast area which includes generating results from computer models.

0 votes
0 answers
27 views

Sample size for a vector of proportions and simulation

Currently, there are more than 10 variants of omicron virus. Say, variant proportions are X1=0.1, X2=0.35, X3=0.15, etc. I need to calculate the number of samples needed to detect the proportion of ...
ariadnaoliver's user avatar
0 votes
0 answers
37 views

How to guess a random walk to achieve max sample correlation?

Define this 1-D discrete random walk start from 0: roll a die (the die may or may not be fair, the fixed probability of each face is unknown to the observer/guessor)...
cat's user avatar
  • 53
2 votes
2 answers
46 views

Data modelling as a surface

I want to model waste generation in a city using data from the containers. I have the location and fill levels of each container over time. My idea is to use the average amount of waste in each ...
pato's user avatar
  • 21
0 votes
1 answer
45 views

Are the p-values obtained on the same sample using synthetic AA tests (Monte Carlo) independent values?

Let's say we have the following procedure. We take a fixed sample of size n and perform the procedure 1000 time: we divide (split) it equally into 2 groups; we calculate p value using the F function (...
Романов Андрей's user avatar
3 votes
2 answers
81 views

Didactic example of mean-variance dependency in linear models

I'd like to illustrate the importance of accounting for the dependency between mean and variance in inference with linear models. Is my example below a good one? Do you agree with my comments on it? ...
dariober's user avatar
  • 4,754
1 vote
0 answers
73 views

Simulation of Random Processes to Check Stationarity

I am wondering if this is a valid approach: I want to validate that certain random processes are not weakly stationary (constant mean, covariance depends on the lag, finite variance) through ...
da7666's user avatar
  • 101
2 votes
4 answers
467 views

I want to show by simulation that the Wilcoxon test is more robust than the Student test for non-normally distributed data

I want to test by simulation that the Wilcoxon test is more robust than the Student test for non-normally distributed data. For example, I'm testing the ...
Seydou GORO's user avatar
1 vote
2 answers
65 views

Mixed model: Which parameters to provide for sample size calculations?

I am currently planning an analysis in a relatively new area of research and would like to provide data that will allow for future power analyses. Unfortunately, I am completely lost in the ...
a.henrietty's user avatar
0 votes
0 answers
19 views

What is the standard deviation/uncertainty of a single observation in a meta-analysis?

I am running a simulation with parameters based on an existing random-effects meta-analysis. I would like to draw individual patients in the treatment group from a normal distribution with µ=the ...
bumble.bee's user avatar
0 votes
0 answers
15 views

When can I use bootstrapping in a microsimulation model?

I'm investigating uncertainty in a linked series of microsimulation models, the outputs of each feeding into the next. The first model (model A) generates individuals by resampling them - using a ...
nwrdobrn's user avatar
0 votes
0 answers
35 views

Calculating Sample Size for Cumulative Link Mixed Model (CLMM)

I am going to collect data in which each participant answers to 3 questions to 18 vignettes (each vignette has 3 questions), each question with likert scales 1-5. The dependent variables (questions) ...
Simón Schulz Montecinos's user avatar
0 votes
0 answers
41 views

Beta-binomial relationship between dispersion and correlation parameters

Context: I have created a beta-binomial model using glmmTMB() from the glmmTMB package and I am now trying to simulate a beta-...
Reid's user avatar
  • 13
3 votes
1 answer
47 views

How to simulate non-standardized artificial data for logistic regression?

I would like to simulate data for a logistic regression with the predictor variables on their original scale. There are, of course, a litany of similar previous questions (e.g., here, here, and here). ...
the-mad-statter's user avatar
0 votes
0 answers
23 views

How can I simulate the path between two defined points but also define the overall step variance?

As stated in the question. I’m wondering if it’s possible to simulate a random walk between two fixed points (always start at A and finish at B) where the variance of the difference of steps is also ...
IGK's user avatar
  • 1
1 vote
1 answer
23 views

Forecasting positive time series with missing values and few observations

I am working on forecasting a positive time series dataset of prices with missing values and only a limited number of observations. Specifically, I have 150 observations, one per week, and I need to ...
anasse's user avatar
  • 11

15 30 50 per page