instruction stringlengths 9 38.7k |
|---|
I have been trying to run a multilevel model with both a linear and a quadratic term for income as my main variables of interest. It looks something like:
\begin{eqnarray}
&&y_{ij}=\beta_{0j}+\beta_{1j}\text{Income}+\beta_{2j}\text{Income}^2+\epsilon_{ij}\nonumber\\
&&\beta_{0j}=\gamma_{01}\text{Level-2 variables}+u_{0... |
I asked a previous question about why the ML and MAP estimates are the same when using a uniform prior (How does a uniform prior lead to the same estimates from maximum likelihood and mode of posterior?)
However, I am playing around with it some more and I tried a simple example which doesn't make sense to me.
Let's sa... |
I am currently constructing a regression model meant to predict a given dependent variable - call it IN. I will also be constructing a model with the same independent variables to predict a second dependent variable - call it OUT. I would like to examine the difference between coefficients for the same independent vari... |
First of all:
From what I understood, bootstrapping residuals works as follows:
Fit model to data
Calculate the residuals
Resample the residuals and add them to 1.
Fit model to new dataset from 3.
Repeat n times, but always add the resampled residuals to the fit
from 1.
Is that correct so far?
What I want to do is... |
This question is inspired by two seemingly equivalent attempts to solve a question asked yesterday: In R, how to sample from the output of combn(a,b) if the "a choose b" is too large?
Essentially the problem is to choose $10$ integers that sum to $100$, where each number must be $\ge 0$.
The approach suggested in the o... |
Given a symmetric, positive definite, covariance matrix $S$,
how can I calculate a matrix $C$ such that
$CSC^T$ is the Identity matrix $I$?
|
My objective is to actually get to the Standard Error for every point estimate of a linear regression. I originally thought that the Standard Error of a linear regression model was constant. And, that it was simply equal to the square root of the Mean Squared Deviation of the residual. That's why the model's Standar... |
I read some research papers about Lachenbruch methods- 2 parts model. I am a clinician cum researcher and don't have much knowledge/experience in statistics.
We used a scale (St. George's Respiratory Questionnaire) in a study (in general village population in India), 0 indicates no problem and 100 indicates severity. ... |
I am a bit confused as to how to calculate random baseline. If I understand correctly the random baseline is calculated by adding up the squared probabilities of all the classes. The random baseline classifier thus picks a class at random, instead of choosing the most frequent one.
I have 7 classes, each with # of item... |
Given a set of data with many independent variables and a single dependent variable how can I find the "experimental region" of the resulting model? This is the region within which we can make valid predictions and doesn't go outside of the bounds of the data we were provided. Also what is a good way to articulate this... |
I have this confusion. In ordinary kriging we have used the unbiasedness condition which gave the sum of weights equal to one. However, in the case of simple kriging we have no such conditions why?
I used ordinary kriging and simple kriging in my dataset and I have a huge difference in kriging in predicting the values.... |
I need to find the distribution of the random variable
$$Y=\sum_{i=1}^{n}(X_i)^2$$
where $X_i\sim{\cal{N}}(\mu_i,\sigma^2_i)$ and all $X_i$s are independent. I know that it is possible to first find the product of all moment generating functions for $X_i$s, and then transform back to obtain $Y$'s distribution. However... |
I need to build a HMM with two chains: the structure is as the figure below. How can I use the Viterbi algorithm for this model?
|
Is Maximum Entropy rule equivalent to non-informativeness?
In other words, when maximizing the entropy of a distribution, given some known stuff, is it equivalent to finding to most non-informative distributions?
If so, how do you justify this mathematically?
|
Suppose I am testing two drugs, I and II. The response profile is either I > II, I < II or I = II. I was trying to figure out if I is in fact better than II.
One way I thought of was to throw out all the ties (I == II), and then assign a 1 where I > II and a 0 where I < II.
Then this boils down to a binomial distribu... |
I have a situation where I have 3 treatments/conditions A, B, C. For each condition I have multiple trials.
I compare the means of trials under each condition A, B and C. This gives me 3 values.
Then I am computing a difference A-B and A-C. I need to obtain confidence interval/error bars for the single value obtained ... |
Suppose that, at first, I am trying to estimate the mean and standard deviation of some data that I assume to be normally distributed. My prior is gaussian with mean $\mu_0$ and variance $\sigma^2_0$. Now I observe some data $D_0$ and update my prior according to Bayes' rule, leading to a gaussian posterior with mean $... |
Can you give the reason for using a one tailed test in the analysis of variance test?
Why do we use a one-tail test - the F-test - in ANOVA?
|
I have daily data with logarithmic decreasing trend (around 30-days-data).
In excel I'm calculating these data's trendline and with that trendline equation, I'm projecting these values to 365-days data. Then find the sumation of these 365 days' values.
Is there any ways to automize that in R by writing a function or u... |
In outline shape analysis after getting the results of chain code (in shape software) and principal component values should I use the parametric (ANOVA) or non parametric (Kruskal-Wallis) test to evaluate the variation between populations ($n=40$)?
|
The gamma distribution can take on a pretty wide range of shapes, and given the link between the mean and the variance through its two parameters, it seems suited to dealing with heteroskedasticity in non-negative data, in a way that log-transformed OLS can't do without either WLS or some sort of heteroskedasticity-con... |
I've read in a number of places that calculating the mean of an ordinal variable is inappropriate. I'm trying to get an intuition for why it might be inappropriate. I think it is because, in general, an ordinal variable is not normally distributed and so calculating the mean will give an inaccurate representation. Coul... |
I tried to use lme() to get intercept and residual variance values using a very simple dataset with just 2 values x and y. There are multiple values of 'y' for every value of 'x' and they are stored in a data frame that has 2 columns: x, y with x having duplicate/repeat values. Here is the dataset that I used:
x <-c(1,... |
For my understanding, multinomial logit model requires to restrict the parameters for one category to zeros. However, package{glmnet} seems to allow different parameters to every class. Could someone explain this reason?
Thank you very much in advance.
example:
#Reading packages
library(glmnet)
library(nnet)
## Testin... |
I'm trying to understand how to compute the optimal cut-point for a ROC curve (the value at which the sensitivity and specificity are maximized).
I'm using the dataset aSAH from the package pROC.
The outcome variable could be explained by two independent variables: s100b and ndka.
Using the syntax of the Epi package, I... |
For my master's thesis I am examining a mediated relationship. I need to write out the equation model, but do not know exactly how to do this. In my case I have four independent variables, one mediated variable and one dependent variable. How do I add the mediated variable to the equation? Until now I got this:
Exploit... |
Should the weights of a neural network without hidden layer and a logistic activation function be the same as the parameters of a logistic regression? Mine are not the same?
nnallnohidden=nnet(
PartialPrepayzo~FIXPER+MEDSAL2+DREL+LEEFTIJD+HH2CRED+LTV_curr+
rate1Y+rate5Y+CIremFIRP+URB+WELSTAN2+OutNot+mover+SavRa... |
I have two function. First function have a positive value for AIC and the second function have a negative value fir AIC. How to make comparisons? algebraic or absolute values?? Thanks :)
|
Say we have a variable that can assume all values between 0 and 1 and we have a system that predicts measurements of this variable providing estimates in terms of 6 discrete levels (let's say 0, 0.2., 0.4, 0.6, 0.8 and 1.0). Now we are getting the actual outcomes of measurements (about 100) of this variable on a conti... |
The following describes what I'm trying to accomplish, but it's possible an alternative problem statement can describe my goal:
I want to
divide the following numbers into groups where the variances of the numbers within each group are not too large, and the differences between the averages of groups are not too smal... |
I basically have a timespan from January until August (or any other timespan) which is divided into active periods (denoted by a red line in the plot) and inactive periods (the rest).
What I want to compute from these periods is a measure of temporal spread (couldn't think of a better name).
I've already come up with ... |
I have two sample sets that consist of independent trials of a binomial variable X = {X0, X1}. For the remainder, I denote the probabilities as p0= p(X=X0) and p1= p(X=X1); the sample sizes as N1 and N2 and the binomial coefficients as C1 and C2.
1st Sample set: N1= 10 and the count of X0 observations is 2.
Hence, the... |
I have monthly data on the number of people who have a disease, say, cold, within the study population, and I have the number of people that took certain medication when they had the cold. And I have an intervention time point to estimate the intervention effect.
To me it looks like I have a binomial distributed series... |
I have a set of observed one-dimensional independent data set: X[1...N].
What is the official name of the simple estimation of CDF function with stepwise function P(x[i]) == i / N
|
I have a repeated measures data set with 5 time points and one binary dependent variable (yes/no response to a question). There are around 20 subjects.
If my understanding is correct, both "generalized estimating equations" and "generalized linear mixed models" are possible approaches to test if there is an effect of t... |
I have a trading software that buys and sells loans. There's an auction site where borrowers ask for some money and lenders bid on them until the borrower is fully funded and the auction ends. There's lots of information on each loan request. My trading bot always bids at the highest possible interest rate, if it is ou... |
Does model adequacy checking mean "Checking the normality assumption that $\epsilon_{ij}\sim \mathcal{N}(0,\sigma^2)$"? More specifically, does it mean checking that the residuals, $e_{ij}=y_{ij}−\hat{y}_{ij}$, are distributed in this way?
And is an independence check performed by showing that the mean square due to tr... |
I fitted an hyperbolic distribution to my data with the hyperbFit(mydata,hessian=TRUE) command (package HyperbolicDist). The hessian looks like:
> hyperbfitmymodel$hessian
hyperbPi lZeta lDelta mu
hyperbPi 536.61654 -23.82800 25.62345 26153.16561
lZeta -23.82800 250.74196 -2... |
I am modeling three events A, B, and C as Poisson processes with rates $\lambda_A$, $\lambda_B$, and $\lambda_C$ and I would like to calculate the likelihood of observing some data given my model.
A distinction that I have come across is the difference between an event happening at a specific time $t$, $P\left(T\left(E... |
I originally asked a question about the delta-method in the context of the hyperbolic distribution. I got an answer there, which is useful, except that it says I should apply the vcov function to my fitted function what is unfortunately not possible. The vcov was there to give me the variance-covariance matrix of the p... |
I am measuring hormone changes in animals. I have three groups: Groups A, B, and C. In each group, blood was collected from the SAME individuals for hormone assay at 0, 15, 30, and 60 min. This was done in males and in females and I would like to keep in mind sex differences.
My question: do the changes we see in hor... |
I have some code and output, and I would like to construct a model. I don't know how to construct a model using this output:
require("splines")
x <- c(0.2, 0.23, 0.26, 0.29, 0.33, 0.46, 0.53 )
y <- c(0.211, 0.2026, 0.2034, 0.2167, 0.2177, 0.19225, 0.182)
fit <- lm(y ~ ns(x,3))
summary(fit)
Note ... |
A friend of mine approached me to help her to interpret her multinomial logistic regression model. They had measured people as 1 of 2 states at 2 time periods. So, each person can have 1 of 4 configurations: start at state 1, end at state 1; start at state 1, end at state 2; start state 2, end state 1; start state 2,... |
The recent public finance literature often estimates relative excess mass around specific points of the earnings distribution ("kink points" or "notches" of tax schedules, say), and then bootstraps to get standard errors. This is done to nonparametrically estimate local elasticities (responsiveness). I know kernel dens... |
I'm trying to perform predictions from a sequence of events. My problem is this:
Data collection:
Suppose you can continuously observe a person sitting in a library. You take note of every time that the person checks his smartphone, goes to the restroom, or is reading. At some point after several hours, the person then... |
I'm interested in coding up the variance-stabilized bootstrap-$t$ approach for calculation of confidence intervals. However, I'm a little stuck and could use some help. I'm coding this in R and this is what I got so far:
data = dataset
for(i in 1:B){
boot = sample(nrow(data),replace=TRUE)
... |
This question regards the best way to compare ordered binary data. My situation is as follows:
I'm interested in evaluating how well a model conforms to human performance data on a set of validation problems. For a test set of 30 problems, I have a record of whether my model produced a correct response (denoted as a "1... |
Let's imagine that I have collected data in a longitudinal design that would lend itself to a mixed effects analysis. So suppose I perform a research study with human subjects and observe responses ($Y_{ij}$), where $i$ designates the subject and $j$ designates the trial, where the $j$th trial involves a possibly repe... |
I was requested by a friend's mother to analyze her data from her past treatment. Since she got leukemia two years ago, she had been instutionlized for various periods and underwent various treatments. So I can download a data chart with time points and measurement after medicine A, B,C,D, E, etc. However the measureme... |
I want to simulate survival time for two competitive events using R. Consider that there are no censored data, and the survival time for each event has exponential distribution with rate 0.25 and 0.1 respectively. Can anyone help me please?
|
What is the distribution of the difference of two-t-distributions suggests that the sum of two t-distributions is never t distributed.
With t distribution I mean the (non-standardized) t distribution with location and scale parameter.
Now, let $Y_1,Y_2$ be independently t distributed with same dof $\nu$, location $\mu... |
Imagine you are receiving a message over and over via a lossy data path. The path causes bit errors but does not affect the length of the message (or shift any bits). You don't know the actual message but you will get many copies of it so you can reconstruct it (e.g. with a median filter). You want to estimate the e... |
I'm using particle filters for inference in a hidden markov model with an infinite state-space.
My current state-variable is multidimensional and there are interdependencies between some dimensions. I thought therefore, that it would be beneficial, if I split it up into sub-states and model ther dependences in a small ... |
I have scoured around, reading posts on Cross Validated (Difference between logit and probit models) and also looking at references including Dobson and McCullagh and Nelder, e.g. http://www.statsci.org/glm/books.html so I am aware that this topic is well trodden. Nevertheless, I am trying to articulate and formalize m... |
I'm trying to understand the idea behind the Topic Models in document clustering. In Latent Dirichlet Allocation, it is necessary to approximate the posterior distribution of topics over the document. One of the methods is Gibbs sampling - I'm not sure if I understand how it works - I'm basing my understanding on this ... |
I am looking for papers, preferably in economics, where simple OLS is used. The reason is that to convey the workings of linear regression, I want to have real data from real papers. Most research uses simultaneous models or other bells and whistles. Also few researchers release their data. I could generate my own data... |
I have two factors: Brainregion (4 levels) and Group (5 levels).
Glutamate is my dependent variable.
I am running General Linear Models in SPSS (two factor ANOVA).
Can I get the output in such a way that:
I can compare means (post-hoc test) of control with other levels such as alcohol, EW etc. (Group) across CC, CB et... |
1. The problem
I have some measurements of a variable $y_t$, where $t=1,2,..,n$, for which I have a distribution $f_{y_t}(y_t)$ obtained via MCMC, which for simplicity I'll assume is a gaussian of mean $\mu_t$ and variance $\sigma_t^2$.
I have a physical model for those observations, say $g(t)$, but the residuals $r_t... |
I am looking for a toy similarity matrix of any kind of entity class to test my random walk code. Is there any set like this or how can I create my own set? I need to interpret the results of the random walk that I run to find the dominant instances of the data.
|
(1) I preprocessed data with a matching method (CEM)
(2) On this data (binary dependent variable, explanatory variables) , I ran a logit model and estimate predicted probabilities or odds ratios.
I would like to integrate my estimates of the logit model into the potential outcome framework (I would like get an average ... |
Consider an i.i.d. sample $(X_{1},\ldots, X_{n})$ where the $X_{i}$ have density
$f(x) = k \cdot \exp(−(x − θ)^4)$ with $x$ and $\theta$ real, obtain the sufficient statistic and its dimension. What does this example show? Is the statistic that you have found also complete?
|
I have an experiment where several subjects (subjects $= S_1,S_2,...,S_m $) were asked to perform a set of tasks (tasks $= T_1, T_2, T_3,...,T_n$) using both their left ($L$) and right ($R$) arms. Each task for each arm was repeated $r$ times. The response is measured in a variable called 'measure'. Unfortunately, ther... |
I have a summer research project that I'm currently working on that involves face recognition
during a video capture session. I currently have an algorithm that returns a ranking of the closest
matching results along with a similarity measurement that indicates how closely the input face image
was matched. These simil... |
I am trying to fit a Bayes glm model with an inverse Gaussian family and link="identity". However, I'm getting the following messsage:
Error in if (iter > 1 & abs(state$dev - devold)/(0.1 + abs(state$dev)) < :
missing value where TRUE/FALSE needed
My code is as follows:
age<-bayesglm(formula=y~factor(x1)+factor(x... |
There are two groups:
treatment
control.
Each group has three categories of outcomes:
High
medium and
low blood pressure.
The number of subjects is 100 for each group.
Now, let's say, for control group, the number of observations is 40, 40, 20 for high, medium, and low blood pressure, respectively.
And, for the tr... |
I'm writing an MCMC algorithm in R and I'm wondering about the following: say we have two parameters, $\theta_1$ and $\theta_2$. I want to update each one at a time from the corresponding posterior conditional distributions. Say $\theta_1^{(0)}$ and $\theta_2^{(0)}$ are the initial values. Then at iteration 1 I update ... |
How do I interpret hierarchical regression results?
|
I have a software which takes input as investment and gives the output as return on a particular stock. Now profit metric $x_i$ is defined as the ratio of return $g_i$ to maximum possible return $g_{max}$ at $i^{th}$ period of time.
so $x_i = g_i / g_{max}$
$g_{max}$ is constant for any period but varies from stock to... |
I have run GLMs and got my final model that fits my data. Now I would like to plot each of my important covariate versus the predicted values. I would like to keep all the other covariates of the model constant and have one covariate that varies and plot it. My goal is to obtain a line with confidence intervals on whic... |
I am a research scholar and monitoring phenological events of timber line at a Himalayan region from past 4 years. During data analysis I found a research paper "Estimation and comparison of flowering curve" similar to my work.
In this paper the R package bbmle was used and five parameters $(\beta_{0},\ldots,\beta_{4})... |
I got the following question in my finals, but the teacher claims I didn't answer this right, I chose a. as the right answer, what is the right answer and why?
Here is the question:
In a research about the connection between two quantitative variables there were collected observations (more than 2), where each observa... |
Using the method of moments, one can try to approximate the sum of $\chi_{r}^{2}$ variables as $\sum a_{i}Y_{i}$ by equating the $n$-th movements of the sample with the $n$-th movement of the population, and "solve" the parameters this way. However I am stuck in the derivation of Satterthwaite appproximation. The autho... |
The ExtraTreesClassifier and Random Forest in Scikit learn library has a parameter "min_density". Its default value is set to 0.1.
I cannot figure out what this min_density parameter means and how it affects the training (It is not in the docs and I cannot find its equivalent in the paper.) Can someone kindly explain ... |
When an extra shape parameter is added in the distribution than a statement in favour of this parameter is written "extra parameter can control both tail weights and adding entropy to the centre of the density function". I am quite clear about tail weight but cannot understand adding entropy to the centre and how to pr... |
I'm estimating a Random Effects model with an AR(1) disturbance for the errors (xtregar in Stata). The reported results show that the constant (in Stata terminology) is positive and significant.
The question is, in general terms, how do you interpret this constant term?
|
From a reply by John
What is true is that trivially small effects can be found with very large sample sizes. That does not suggest that you shouldn't have such large sample sizes. What it means is that the way you interpret your finding is dependent upon the effect size and sensitivity of the test. If you have a very ... |
I have a large set of variables measured on different scales/units, and want to standardize them to the same scale, with a mean of 0 and standard deviation of 1, so that I can run a PCA on them. I have heard that the NORM.S.DIST function in Excel is appropriate - can anyone verify this?
|
In the spirit of this question Understanding proof of a lemma used in Hoeffding inequality , I am trying to understand the steps that lead to Hoeffding's inequality.
What holds the most mystery for me in the proof is the part where exponential moments are computed for the sum of i.i.d variables, after-which Markov's in... |
I am using a relevance vector machine in R, rvm(), to solve a regression problem. I need to know the variance of the fitted values for each identified RVs. Does anyone know how to program to compute the prediction variances with R's Kernlab package?
|
In general, how is the required sample size derived for a specific power and a specific significance in a test rule?
Since the alternative hypothesis may not be simple and the power is a function of the sample's distribution, what does the specific power require? Is it the minimum power over the sample's distributions... |
I have a problem when performing a Hausman test.
I have a panel dataset that has five panels. I am estimating the same model twice, once using quarterly and another using half-year data.
My dependent variable and some of my explanatory variables contain time-series data, which changes across individuals and time. How... |
I have a problem where I think subsampling is more appropriate than the bootstrap. (Reason in another post.)
However, I found no quick reference on subsampling CIs, and my naive inversion of the basic theory led to something that looks like the analogue of the "basic bootstrap" CI which seems to be used less often itse... |
Introduction:
I'm working with heart rate data. IBI (InterBeat Interval) is defined as the time period between any two consecutive heart beat and is usually measured in millisecond. I have followed a subject for 6 days and using a device, I have all his IBI measures. My dataset has about 450,000 IBI measure. The device... |
I am exploring the flexibility of partitional clustering algorithms. In particular, I would like to introduce more general distances than the ones which are used by default.
Let us consider, for simplicity, dbscan contained in the R-package fpc. It allows the user to specify a "data matrix, data.frame, dissimilarity m... |
I have this confusion related to interpreting the precision matrix. Suppose I have four variables forming a multivariate gaussian distribution with the following precision matrix
Q = 1 -1 0 0
-1 2 -1 0
0 -1 2 -1
0 0 -1 1
If I invert this precision matrix and get the covariance matrix from the... |
(This is related to my (so far unanswered) last question)
I want to use residual bootstrap to examine uncertainty and robustness of a model that fits a series of environmental measurements. I know close to nothing about the structure of my data's noise. It appears to be heteroskedastic and may (!) be autocorrelated in... |
For a manuscript intended for submission to a medical (or psychological) journal, I have cognitive data from 16 patients and 32 age- and gender-matched healthy controls at four time points (pre-treatment T0, and three post-treatment time points T1, T2, and T3 in patients; in controls at the same intervals), i.e., I hav... |
I'm doing some basic one-way ANOVA in R. It would be useful to be able to output only the p-value associated with a specific term without producing the whole ANOVA table (unrelated reason). I need the value as a basic numeric and not an ANOVA object For example, if I'm looking at anova(lm(yield~variety+block)) and just... |
Is it possible to do stochastic population forecasting with the R package Demography when the population size is between 10k and 20k? I have data from year 1985 to 2012 for population, deaths and births. What do you do when almost half of the death rates are 0? From ages 1 to 30 nearly no one dies in a so small populat... |
I have been analysing a number of likert scale variables using spatial auto-regressive models. However, my question I think can be applied to an OLS model.
After analyzing the data I obtained some odd coefficients, which led me to realize that some of the variables were coded inversely. That is, 1 was very important a... |
I'm trying to run a factor analysis in SPSS on a set of social vulnerability data for my thesis. I have 5 communities, with 26 social vulnerability variables for each community. My overall aim is to determine the number of components and their respective variables that the data can be reduced into.
When I run the Facto... |
I have an imbalanced 2-class data set made of two parts - model creation data and prediction data. Model creation data is split into train and test data. Model is trained using the training data and tested on the test data, as usual. I do this several times to make sure that the data space is covered fully. The accurac... |
I'm trying to make a video about loaded dice, and at one point in the video we roll about 200 dice, take all the sixes, roll those again, and take all the sixes and roll those a third time. We had one die that came up 6 three times in a row, which is obviously not unusual because there should be a 1/216 chance of that ... |
I have to verify some results. I have only the mean and its st. error, not the raw data. In a research paper they did a paired t test. Is it possible to check whether their p value is right by only using the means, st. errors and N, in SPSS or GraphPad?
|
I realise this is one of those "Don't start from here" type questions, and I did indeed tell them not to "start from here" but it would be a shame to junk the data.
Basically I have some interval normal data, Likert scale type stuff, from two groups, at time one and time two, and I know that some subjects in time two a... |
is there an R package/function to implement the parallel slope test given a clm (ordinal package) or polr (MASS) package?
|
I am a student of mathematics, but my knowledge of probability and statistics is rather limited. So please forgive if this is a bad question.
T-tests are a popular way to perform statistical inference. However the null-hypothesis of 'no-effect' seems flawed. Take any two variables: suppose they're 'amount of time perso... |
I conducted exploratory analysis of my data and got Mean and standard deviation values from the original data and plotted the data using boxplots.
I conducted regression models (GLM and GLMM) on the data (which allow to estimate marginal means) and I would like to know what I have to report, if the "raw" mean and SD or... |
According to Hastie's paper, the elastic net has two equivalent formulations:
$$\hat{\beta} = \underset{\beta}{\operatorname{argmin}} \left\{ \sum_{i=1}^N\left(y_i-\sum_{j=1}^p x_{ij} \beta_j\right)^2 + \lambda_1 \sum_{j=1}^p |\beta_j|+ \lambda_2 \sum_{j=1}^p \beta_j^2 \right\}$$
and
$$\hat{\beta} = \underset{\beta}{\... |
I am planning to conduct a simple random sampling for a population of $N$ patients with index $1,...N$. I have enough money to interview $n$ patients (sample size=$n$). In order to determine the sample patients, I first generate $n$ random integers(with replacement) and ask the patients with such index whether they wou... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.