instruction stringlengths 9 38.7k |
|---|
I have some data that looks like this:
Procrastinator has come up with one good suggestion for how to test hypotheses under this distribution, but it relies on some guesswork to fit constants. I would therefore feel more comfortable if I had multiple methods, and could check that they all agreed.
One thing I can do is... |
Suppose I have 2 independent variables whereby normal distribution can be assumed.
However, there is unequal variance and interaction between the two factors is unknown.
Could someone suggest an alternative to 2-way ANOVA with the above mentioned scenario.
I know one possible non-parametric test is the Friedman's test.... |
I don't understand how the LM statistic works because if we run the regression and then record the residual, and then run the regression using the residual as the dependent variable and then using the unrestricted model, how can we run a regression of a constant on 5 different variables? For example, I'm using Stata an... |
Let us say I have the following pair wise test data:
batch 1 2 3 4 5 6 7 8 10
non-control 18 16 15 19 36 24 25 30 31
control 20 23 25 19 28 24 26 21 22
Each data point is measurement of some attribute X in some units
The control part of the pair share some underlyi... |
I am using stratified sampling and neyman's optimal allocation to compute the best sample size for each stratum. neyman's optimal allocation is given by the formula,
$$n_h = n \frac{N_h * S_h}{\sum_i N_i * S_i}$$
where $$\sum_h n_h = n$$ $$\sum_i N_i = N$$
and $n$ is the total sample size, $n_h$ is the sample size for ... |
I have an experiment in which students are asked to solve a maze under two groups (TRT v. Ctrl) over 10 different trials. In each trial, students can try 3 times to solve the maze. If they solve it in the first time, we assign 1, the second time 2, the 3rd time 3, and if in each trial a student cannot solve the maze, w... |
In stratified sampling, what are the optimization considerations? For example, the sample size per stratum could be defined with proportional allocation as $n_h=n\frac{N_h}{N}$, where $N_h$ is the population size for stratum $h$, $N$ is the total population size, $n$ is the total sample size, and $n_h$ is the sample si... |
Stopping rules affect the relationship between P-values and the error rates associated with decisions. A recent paper by Simmons et al. 2011 coins the term researcher degrees of freedom to describe a collection of behaviours that they consider to be responsible for many of the reports in the psychology literature that ... |
After reading Hanna Wallach's paper Rethinking LDA: Why Priors Matter, I want to add hyper-parameter optimization to my own implementation of LDA. However, the paper doesn't given any details about how this optimization is to be done. I suppose I could dive into MALLET source code, but I want to understand this to the ... |
I am writing code to prepare for running a logistic regression on real data. I have sample data for all my IVs but not for the outcome variable. There are many strong dependencies among the IVs but I have a lot of data points.
I created fake outcome data that is dependent only on a single IV main effect. The regression... |
I need to run a logistic regression with a binary response variable and a categorical explanatory variable.
My explanatory variable has 3 levels:
Forest
Plantation1
Plantation2
I would like to find a way to test the significance of all 3 possible contrasts:
Plantation1 vs. Forest
Plantation2 vs. Forest
Plantati... |
I'm not sure how to interpret this probit regression I ran on Stata. The data is on loan approval and white is a dummy variable that =1 if a person was white, and =0 if the person was not. Any help on how to read this would be greatly appreciated. What I'm mostly looking for is how to find the estimated probability of ... |
For my research I am doing classification on the dataset of three variables.
I run unsupervised clustering (based on a histogram peak technique of cluster analysis)and the result I evaluated visually and saw that it was not very good. I tried also supervised classification (minimum distance to means), and unsupervised ... |
I'm trying to determine the variance partitioning within plant drought tolerance data among hierarchical ecological levels, from species to forest sites to biome levels. I did that with the varcomp random effects model in R:
varcomp(lme(TLP_DRY~1, random=~1|Biomes/SiteNum/Species, data=d, na.action =na.omit),1)
Now, I... |
I want to compare two different methods for detecting status change in a survival analysis. A group of subjects is being followed for a longer period (many years), and two examination methods have been used to examine whether a status change has occurred; one method was used to examine each subject twice a year and the... |
If I have two samples, with one 30-times larger than the other, which nonparametric test statistics should be considered for checking the null of equal distribution?
I am using Kolmogorov-Smirnov test to check that the two samples come from the same distribution. Any mistake in this? Is there any other test statistics ... |
I'm trying to calculate the variance of the inverse gamma distribution using the method of movements. According to wikipedia the variance should be:
$$\sigma^2 =\frac{\beta^2}{(\alpha-1)^2(\alpha-2)}$$
Where $\alpha$ is the shape and $\beta$ is the scale of the inverse gamma distribution. When trying this out in R it w... |
I have this model:
$$P(e) = K_w P_w(e) + K_d P_d(e) + \text{some random term}$$
where
$P(e)$ is the probability of picking edge $e$, "all things considered"
$K_w$ and $K_d$ are constant parameters which can be used to tweak the algorithm
$P_w(e)$ is the probability of picking edge $e$, with consideration to the weig... |
Please, put in R the following structure:
infl <- structure(list(infl = c(91.37, 91.8, 92.14, 92.65, 93.08, 93.17,
93.08, 93.08, 93.34, 93.25, 93.17, 93.25, 93.59, 93.76, 94.27,
94.7, 94.87, 94.79, 94.62, 94.7, 95.04, 95.21, 95.13, 95.3, 95.13,
95.55, 95.98, 96.15, 96.07, 96.15, 95.98, 96.15, 96.49, 96.58,
96.58, 9... |
I'm working on a question on 2-way ANOVA where there are 2 treatments and 1 blocking factor. The residual plots suggest unequal variance. What is another parametric or non-parametric alternative method to 2-way ANOVA?
|
From literature I have a theoretically proposed value for human performance in a particular task.
I want to experimentally measure performance in this task across a sample of humans and test whether the result I get is equivalent to the theoretical value.
It seems that a Single Sample Equivalence Test can do this.
... |
I am wondering whether there are acceptable ways to illustrate the presence of an interaction besides using an ANOVA. I can't use an ANOVA because I have unequal sample sizes, and due to the nature of the topic being investigated, there was no experimental design we could have used to avoid this.
Is using a scatterplo... |
If $\mathcal{D}$ is a distribution, let $\mathcal{D}^n$ denote the $n$-fold Cartesian product of $\mathcal{D}$. In other words, $\mathcal{D}^n$ is the distribution of $n$-tuples $(x_1,\dots,x_n)$ where each $x_i$ is drawn iid from $\mathcal{D}$.
If $\mathcal{D},\mathcal{D}'$ are two distributions, let $d(\mathcal{D},\... |
(Sorry if I have mis-categorized or titled this question.)
Suppose you have shoe size data for a bunch of people across a variety of shoe brands. So, one person might have Nike = 11, Reebok = 10.5, Adidas = 11, Converse = 11.5, and so on. You might define a matrix $M_{ij}$ where $i$ represents the $i$-th individual and... |
I have some samples that have been treated with various chemical agents. Users score the treatment effect using categorical values / bins (i.e., $< 1, 2.5, 8, ..., > 100$). Within a range of say 1-100 they can get some fairly precise metrical information but outside of that range they input greater or less than the lim... |
I am running a panel data regression. First, I did a pooled OLS regression. Then I did a random effects (re) one. I carried out the Hausman test, and it refuted the null hypothesis (ie. I am discouraged to use random effects over fixed effects). So, I did the following:
(1) I carried out a Hausman-Taylor regression... |
I have a highly-imbalanced test data set. The positive set consists of 100 cases while the negative set consists of 1500 cases. On the training side, I have a larger candidate pool: the positive training set has 1200 cases and the negative training set has 12000 cases. For this kind of scenario, I have several choice... |
I collected data for a discrete probability distribution and I have the pairs (value, probability).
Value Probability
90 0,0033
125 0.0204
180 0.0847
250 0.2516
355 0.4653
500 0.175
710 0.0015
I have been asked to compute a gaussian fit over that data but I am having troubles.
Is... |
No matter what class or book I see, the normal distribution is always advocated. I have been trying to find ways to assess relationship between variables for non normal distributions, most of which are exponential. Is there any other method other than spearman correlation to deal with such things?
|
For non-negative matrix factorization with Frobenius norm:
$$\min\limits_{U\in\mathbb{R}_+^{m\times r}, V\in\mathbb{R}_+^{r\times n}}||A-UV||_F^2, A\in\mathbb{R}_+^{m\times n}$$
$r=1$ is a very special case because the optimal solution is given by SVD and there is no need to perform successive minimization by $V$ with ... |
What are the multidimensional versions of the median and what are their pros and cons? I confess this doesn't have a single answer, but I think it is a useful question to ask and will be a benefit to others as well.
How stable it is (i.e. how many samples one needs to get a reasonable estimate of it) is one potential, ... |
I am roughly running an OLS regression of prices and the number of network providers in cities in the UK. Let $P$ stand for prices and $net$ stand for the number of network providers. The frequency of $net$ is:
net frequency
0 100
1 140
2 100
3 40
4 10
5 10
6 1
7 ... |
When I do k-fold cross validation of a decision tree, the software produces a confusion matrix for the test data. Is each instance assigned the most frequent class in the cross validation results to create the confusion matrix?
|
Something nice and topical. I just read these two items on the news:
Obama is in the lead by 50.4% to 48%, with 61% of votes counted. (Ohio)
With 86% of the vote counted, Virginia is still sitting on a knife edge. Romney is hanging on to a lead of 49.9%, but Obama is snapping at his heels on 48.7%.
Intuitively they s... |
I'm looking for some book recommendations, video lectures, tutorials or anything that can help me learn SAS.
|
Possible Duplicate:
Statistics interview questions
I am interviewing for a machine learning position and was hoping to revise stats and probability for the interview.
Do you people have suggestion on what kind of questions to prepare for? Basically, I am looking for lots of sample problems to work through -- any sug... |
I have a training set with $N$ instances $\{I_1,...I_N\}$,
where each pair of instances is associated with a similarity score $S(I_x,I_y)\in [0,1]$ indicates if the two instances are similar or not.
I have developed $M$ similarity functions $\{S_1,...,S_M\}$, each of which is based on a different feature vector I extra... |
After testing some cases, it appears to be true that if you create partitions in a dataset, average the data in the partitions, then average the averages, you get the same result as if you averaged the entire dataset.
For instance:
avg(1,3,5,8,4,2) = 3.8333
avg(1,3,5) = 3
avg(8,4,2) = 4.6667
avg(3, 4.6667) = 3.8333
I'... |
Suppose we have a very simple online k-means where each new data-point is assigned to its nearest center (the mean is updated incrementally). Each center (cluster) is labelled with the most common label of data-points assigned to that cluster. In this special configuration: is it possible to compute a sort of "posterio... |
I was fiddling with my independent variables in a linear model and I note how the y-intercept becomes 0 when all the variables become standardized. Intuitively I understand that I'm shifting the line by changing with the mean of the normal distributed variables, but I was wondering if there is some more rigorous/theore... |
I have some categorical data from a clinic taken over a year long time period. The plan is to perform a Pearson's Chi Squared test (of independence) on this data.
I am extracting data from a clinic's database and my aim is to see if male patients are more likely to cancel their appointment than female patients.
My quer... |
I need some guidance related to regression model verification using validation data.
I am new to R-tool & statistics and trying my best to learn. I did search on internet too but I couldn't get a final answer to my questions.
Actually I have a lot of questions, I may try my best to explain the problems:
I am experime... |
I have data collected from three groups and I would like to calculate the z-score using the grand mean and variance of the combined three groups. Would it be possible to then compare the z-scores of each subgroup and thereby check if they all 3 groups are taken from one population? Would this method allow me to circumv... |
Conjugate prior is useful and beautiful in theory, for instance, Dirichlet distribution can serves as the conjugate prior for multinomial distribution. But I don't find any actual applications based on that.
Can you provide some?
|
Consider two Wiener processes:
$$
\begin{aligned}
X_a &\sim\mathcal N(0,a) \\
X_{a-b} &\sim\mathcal N(0,a-b)
\end{aligned}
$$
How do I show that:
$$
X_a - X_{a-b} \sim\mathcal N(.,.)
$$
That is, how do I show that $X_a - X_{a-b}$ is Gaussian?
I know that $E(X_a - X_{a-b}) = 0$
and
$$
\begin{aligned}
\text{Var}(X_a -... |
I have a full-conditional of the form :
$$
p(X|...) \propto \exp(-(aX^2 +bX +c/X)),
$$
All of the other full-conditionals of my model simplify to a simpler form and for a sake of simplicity, I would like to instantiate my model using Jags or WinBugs (which means that I need to explicit a form for $p(X|...)$ and that I... |
Suppose I run a community center and I want to find the average length of time that someone is a rec center member. It is straightforward to do this with people who have already cancelled their accounts, but I'm not sure how to handle the data of people who still have accounts.
For example, suppose the average duration... |
To determine organic carbon concentrations in a water solution from UV spectroscopy I made a calibration curve with known carbon concentrations and measured the UV absorbance. I used R for the data analysis and the data are found below.
My question now is, how to determine the accuracy of my calibration curve. I would ... |
Starting with a Binomial Distribution with parameters $n=1000, p=0.5$ and measured successes of 300, I would like to test whether there is a significant difference between success and failure.
The obvious solution (using R):
n1 <- 300
n2 <- 700
p <- 0.5
binom.test(n1, n1+n2, p, alternative='two.sided')
I also want to ... |
I need to classify objects based on a set of features - typical classification settings. The additional information is that I know the number of individual which fall in a certain class.
In the sample I need to classify, I have N individuals that I need to classify in k classes. I do not know which individual falls in ... |
I have only a little experience in math calculation tools. So please don't be strict if my question is not well defined :)
Which tool (Wolfram Mathematica, MATLAB or something else) is better to use for statistics? Where can I find quickstart guides and tutorials for it?
|
I want to compute a pseudo-$R^2$ for a model whose parameter estimation was based on maximum likelihood (function likfit(), package geoR, R software).
I tried to compute the $R^2$ proposed by Maddala (1983) which compares the maximized likelihood for the model without any predictor and the maximized likelihood for the ... |
Someone know what quasi correlations are in a DCC GARCH output. I am familiar with the Pearson correlation, always between -1(perfect negative) and +1(perfect positive). In my output I have a quasi correlation of 1,6 between 2 indices. The command that I runned:
mgarch dcc (var1 var2 = , noconstant), arch(1) garch(1) c... |
Let $X_n$ be a sequence of identically distributed (e.g., binomial $B(1,1/2)$) random variables which are not independent (say, for any $n$ and $m$, $corr(X_n,X_m)=c>0$).
What can be said about the limit of their mean $\frac{1}{N}\sum_n X_n$?
Motivation: a reason price variations assumed to be Gaussian is that they are... |
I want to explain to a non-novice doctor the best way to validate consistency of a measure across a likert-scale. The variable describes an average dose across 5 levels of patients (lower to higher). Whats the easiest way to validate that the dose statistically increases from level 1 to level 2 to level3 ..to level 5? ... |
I have a list of weighted 2D points taken from symmetry analysis of a human back surface. I am supposed to find the "midline" representing the most likely path describing vertebrae location (actually, spinal process of the vertebrae).
EDIT: A representative dataset is as follows:
[[ -0.7898176 -3.35201728 4.3614208... |
I know it has to do with consistency in the coefficients of the explanetory variable but I just don't understand what it is or how we use it. My professor doesn't explain it well, and I cant seem to find a good source that can explain it well. Can someone help?
|
In large sample theory, I'm told that as $n$ grows larger and larger ($n$ being the number of samples in a dataset) that $\sqrt n(\hat \beta_1-\beta_1)$ gets closer and closer to normal distribution. What exactly is $\sqrt n(\hat \beta_1-\beta_1)$?
|
Suppose one is interested in stochastic processes for the purpose getting a theoretical understanding of MCMC. They already have a decent understanding of probability theory (let's say at the level Billingsley) and want to develop enough tools to potentially prove theorems about the Markov Chains they construct at a re... |
A quick look at the help page of the random number generator of R shows that you can choose among 7 predefined generators (Wichmann-Hill, Marsaglia-Multicarry, Super-Duper, Mersenne-Twister, Knuth-TAOCP-2002, Knuth-TAOCP, L'Ecuyer-CMRG).
?Random
The default is Mersenne-Twister, which seems to be very good. So why woul... |
Is there an intuitive explanation for how SVD is related to co-clustering when performing SVD on a covariance matrix?
(i.e. the SVD is performed on the matrix $E[X Y^{\top}]$ where $X \in \mathbb{R}^n$ and $Y \in \mathbb{R}^m$.)
How does the projections $U$ and $V$ in the decomposition $U \Sigma V^{\top}$ relate to clu... |
I will be running a machine learning anomaly detection algorithm on some data. It's a binary classification problem: each data point is either anomalous or normal. I have some known anomalous data that I can use in testing the features I select.
I will be using the F1 score for testing the features I've selected for ... |
I am calculating accuracy results from a single feature using LDA. I am very curious why a certain feature consistently performs at less than chance when calculating accuracy using a stratified 10-fold cross validation technique. I have an equally distributed binary class and performing multiple xvals results in an a... |
Suppose a survey sample (obtained by stratified random sampling) can pass the chi-square representativeness tests on some variables but not the others. It seems to me there may be several solutions:
Draw another sample, but this is costly and time consuming.
Drop the outliers that make the tests to fail, i.e., assigni... |
My goal is to generate two variable which are correlated and one of them is heteroscedastic with regards to an grouping variable.
To create two variables with a desired correlation the common way to go is to use the cholesky decomposition. I additionally used the residuals of the orthogonal projection and standardized ... |
I know for PCA, it's true that the first N eigenvectors have N greatest variance.
But I'm not sure whether that's also true for NMF(Non-negative Matrix Factorization). For example, this method(Standard Nonnegative Matrix Factorization (NMF) [Lee2001], [Lee1999].): http://nimfa.biolab.si/nimfa.methods.factorization.nmf.... |
I am comparing Shannon entropy values (for zone occupation) obtained by soccer players during small-sided games in three pitch dimensions. I am also scrutinizing differences between expertise level (national- or regional-level players).
So, I used a General Linear Model RM ANOVA, with the within-subject factor being th... |
I would like to compare before-and-after "scores" on five quality of life questions across two groups. What I would like to know are:
Are the baseline scores across the two groups similar?
Is the change in scores significant (before and after) within each group?
Is the change in scores significant across both groups?
... |
I was just curious. I was watching this movie phd comics where one of the professor says grade the papers so that it has a gaussian distribution with mean 81 and standard deviation 12.
I am a bit confused, to get the data to follow such distribution, I will have to change the data or the grades that I have already give... |
I'm using the Spearman correlation coefficient test for multiple non-parametric ranked categories in excel. I used the built in rank function in excel to calculate the rank of each individuals but i have many ties because there are 10 to 208 categories for 2k instances. In the variable with 10 categories excel ranks go... |
I'm going to school to be an actuary and I am just now starting to learn the basics of different statistical software packages. I have used both STATA and R, and I'm not sure which I like better. If there are any actuaries out there reading this what do you prefer? I currently use STATA for my econometrics class, and I... |
I have a data set that includes two sub-tests, each measured using a Likert scale. I want to test the reliability.
Is it necessary to calculate Cronbach’s alpha for each sub-test? Or do I have to calculate just one Cronbach’s alpha coefficient for all the data?
|
I'm trying to modify a standard implementation of a continuous HMM with Gaussian Mixtures so that it internally gives more weight to newer observations in a time series.
Essentially, I'm trying to update the M step of the EM algorithm, so that the re-estimation equations are weighed over time.
Taken from a thesis by Y.... |
$y = \mathbf{X} \beta$ + $\epsilon$ + $m$
Where y, $\epsilon$, and $m$ are $n \times 1$ column vectors, $\beta$ is $p \times 1$ and $\mathbf{X}$ is $n \times p$.
$y$ is a noisy time-series signal modeled by linear combinations of a basis set $\mathbf{X}$ discribed by $\beta$. $\epsilon$ is additive Gaussian noise. $... |
I have a survey which contains 13 variables in total. For each variable I asked 3 similar questions in order to test the internal consistency. Now I performed 13 Cronbach's alpha tests, one for each variable, to see whether people filled in the 3 questions per variable on a consistent basis. The results are presented b... |
I have a question about the parameter optimization when I use the 10-fold cross validation.
I want to ask that whether the parameters should fix or not during every fold's model training , i.e. (1) select one set of optimized parameters for every fold's average accuracy.
or
(2) I should find the optimized parameter for... |
Hello wonderful statisticians,
I'm writing a proposal for a dissertation where I'd like to look at whether heart rate can predict 1) narrative coherence (as judged on a scale - but could also be categorized), and 2) self-reported relationship satisfaction (also scalar). Ideally, I'd also like to see if DV1 (narrative... |
I need to calculate the mean(+/-SD) final value of a variable from the mean(+/-SD) baseline value and the mean(+/-SD) change from baseline.
So, for example:
Mean baseline weight is 40(+/-2) kg.
Mean change from baseline is +5(+/-1) kg.
I'd assume the correct final mean is 45kg, but how would I go about calculating a... |
I see that the issue of splitting a variable into two categories has been discussed on this forum and I understand pros, cons as well as some ways of performing it. The issue that I am interested and can't seem to find anything on splitting a variable into three points.
For this to make sense let me briefly explain my ... |
I have been considering doing some meta-analysis for a particular field of study in evolution, but before I go any further I would like to know; what are the positives and negatives of the process? For example, no need for a practical experiment is an advantage (time & money) but there will be a publication bias (more ... |
I have $i>100$ Cox regression models which differ only in one explanatory variable, $x_i$. They have the same outcome data and the same other explanatory (adjustment) variables.
I want to control the global Type 1 error probability/adjust for multiple testing of the significance of the coefficients of the $x_i$.
Some o... |
I am recording animal behaviour in four different conditions but in the same environment. So my data are several values (the number of which vary) representing the frequency of a single behaviour for each of the four conditions.
Previously people have used a one-way ANOVA to analyse this data, however, I have realised ... |
I want to determine the standard deviation for a set of measurements of a cable profile. However, the cable follows the terrain, and thus using a mean value for the entire cable length does not make any sense.
My current thought is to compute the mean and standard deviation at every point based on the point itself and ... |
Consider the following setup: two mouse strains ("KO" and "WT") have been compared in three independent experiments ("E1", "E2" and "E3"). In each experiment, there were two groups corresponding to the two mouse strains compared, and each group consisted of four different mice. There were all in all 8 mice per experime... |
Say there are $m+n$ elements split into two groups ($m$ and $n$). The variance of the first group is $\sigma_m^2$ and the variance of the second group is $\sigma^2_n$. The elements themselves are assumed to be unknown but I know the means $\mu_m$ and $\mu_n$.
Is there a way to calculate the combined variance $\sigma^2_... |
I'm keeping some fish for toxicity test and will analyze specific parameter after exposing toxicants. I am keeping the fish in normal condition and check the parameter daily as "baseline". I plan to run unit root test to confirm whether there is change after toxicant exposure. However, I'm not quite sure how long the "... |
I want to create a model matrix for a quadratic regression in R. I have a matrix $X$, where each column is a covariate. Currently, I'm using the code:
Model = model.matrix(~ 1 + X[,1] + X[,2] + X[,3] + I(X[,1]^2/2) +
I(X[,2]^2/2) + I(X[,3]^2/2) + I(X[,1]*X[,2]) + I(X[,1]*X[,3])+I(X[,2]*X[,3]))
Then if I'm dealing wi... |
In the comments to the answer to my question I stated "Many rows have only 1 missing variable, so to exclude the row think leads to bias (they are not MCAR)" and in reply I was told "You're wrong, see Rubin's Statistical Analysis with Missing Data 2nd ed. CC is unbiased with MAR data,"
I don't have Rubin and Little's b... |
I have to compute and compare the least squares method on a model to the least trimmed method.
The LS model results were:
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -39.9197 11.8960 -3.356 0.00375 **
Air.Flow 0.7156 0.1349 5.307 5.8e-05 ***
Water.Temp ... |
I am interested in solving the following problem
$$ \min_{\boldsymbol{\beta}} \left( \mathbf{y}-\mathbf{X}\boldsymbol{\beta} \right)^T W \left( \mathbf{y}-\mathbf{X}\boldsymbol{\beta} \right) + \lambda \left|\boldsymbol{\beta}\right|_1 $$
$\mathbf{y}$ is the vector of observations for each dataset.
$\mathbf{X}$ is the... |
I am analyzing the number of donors cancelling commitments as a monthly time series which varies significantly with economic indicators, some according to internal data, and maybe according to season. I want to see the variance after adjusting for the economy and season (assuming the remainder of variance is due to the... |
In IV, I've sometimes seen the estimates compared to OLS to give a sense of how the LATE may compare to ATE.
What would the analogue be in fuzzy RD? What is the benchmark estimate?
I'd imagine the analogue would be the structural equation without instrumenting for the endogenous variable? Would you include the RD... |
This is homework, but I am rather stuck and the TA for the class has yet to make his solutions. Any help with moving me in the proper direction would be most appreciated.
I am having some difficulty determining the smallest sample size needed to detect with a probability of 90% a one-mark difference between two means $... |
I have a question regarding the proper bootstrapping technique to use with data where strong clustering is present.
I've been tasked with evaluating a multivariate mixed effects predictive model on insurance claims data by scoring the current baseline model on more recent claims data, in order to determine how well the... |
Why $T=X_1X_2$ is not a sufficient statistic?
Suppose I want to show $T=x_1x_2$ is sufficient and with this distribution
$$ x \sim \frac{\theta^xe^{-\theta}}{x!}$$
Chug and plug, you will get $$\frac{\theta^{x_1x_2}e^{-\theta}}{x_1x_2!}$$
Why this doesn't satisfy Factorization Theorem, thus not a sufficient statistic. ... |
I am asked to conduct a Monte Carlo study to estimate the coverage probabilities of the standard normal bootstrap confidence interval, the basic bootstrap confidence interval, and the percentile confidence interval.
I am using the following code:
------------ START ---------------------
B <- 100 # ... |
I was looking at the Gibbs Sampler when I stumbled upon the following example:
Suppose $y = (y_{1}, y_{2}, \ldots, y_{n})$ are iid observations from an $N(\mu, \tau^{-1})$
Furthermore, suppose there exists prior information on $\mu$ and $\tau$ indicating that they are independent and that $\mu$ follows an $N(\mu_{0}, \... |
I'm trying to explore (rather than formally test) relationships for various subgroups between a continuous X and a binary Y (0 or 1). A good shortcut would seem to be to graph a smoothed X-Y fit for each subgroup. But even when, at various levels of X, the mean of Y ranges from .1 to .3, R's smoothed fitline often sim... |
Given a regression model on interval $[0,1]$
$$
Y_{i}=f(x_{i})+\epsilon_{i},\ i=1,\ldots,N
$$
with fixed design and standard error assumptions $E(\epsilon_{i})=0;\ E(\epsilon_{i}\epsilon_{j})=\delta_{i,j}\sigma^{2}$.
The regression function $f$ is from Sobolev space
$$
f\in W^{q}\left[0,1\right]=\left[f,\ldots,f^{(q-1)... |
I cannot understand what I'm doing wrong with an F-test for the regression - I get completely different answers using SSE and R2 formulas.
Unrestricted model:
Restricted model:
1 restriction is imposed, so q=1 in both cases.
Calculation with SSE:
$F=\frac{SSE_r-SSE_u}{SSE_U}*\frac{N-K}1=\frac{2.252-2.142}{2.142}*48=... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.