instruction
stringlengths
9
38.7k
I would be grateful if somebody could assist me with the questions below This is for my dissertation (I am relatively new to SPSS and indeed to statistics). I have a small set of cases (N=41) of companies who took my questionnaire. There are 2 5-point Likert scale sets of questions: - one set is intended to determine w...
I want to verify using a bootstrap approach the hypothesis about a lack of the intervention effect within a group of six patients: pre-(X) post(Y) intervention measurement. My data ID X Y 1 9.856 8.992 2 19.512 4.573 3 1.936 1.572 4 14.575 1.529 5 8.476 12.000 6 1.862 1.417 Within R (2.15.1) Ive wri...
I have a GLMM with Poisson distribution and random spatial block. My experimental design is 2x2 factorial, with 4 blocks, resulting in 16 total data points. Here is the specification of the model in R using the lme4 package. lmer(rich ~ morph*caged + (1|block), family=poisson, data=bexData) When I call summary ...
Possible Duplicate: How can adding a 2nd IV make the 1st IV significant? For two of my main variables, the bivariate correlation coefficients (with the outcome measure) are non-significant (variable $A$ is $-.15$ with the outcome, and variable $B$ is $.04$ with the outcome, $p>.01$ in both cases). However, when ente...
I can't seem to get my head around this: A random drawing will be held for which there are 900 tickets sold, for which there will be one winning ticket drawn. If you purchased 25 tickets, what is the probability that you will win. I am pretty sure this follows a binomial distribution, but I don't know how to adopt the...
I'm modelling a time series data using ARIMA. Now, I'm trying to test for the serial correlation of my model SARIMA(1,1,1) using the durbin watson test. My problem is that I don't know what linear model I would put on the formula of the dwtest function in R. Here's the usage of the function, dwtest(formula, order.by = ...
I'm a new user of mixed models and through the material I've been reading there are always probability values (p>t) or (p>z) that estimate the importance of a level of a factor in the model. However, when using the lmer() function in R, which supposedly gives you those probabilities, I simply don't find them. Here is t...
I have a model: $y=a+bx+\varepsilon_1$ for each observation (tree) $b=c+dz+\varepsilon_2$ for each forest (group of trees) $y$, $x$, $z$ are continuous variables. $a$, $b$, $c$, $d$ are coefficients. $z$ is a property of forests (not individual trees). Error $\varepsilon_1$ is normally distributed and varies by tree. E...
Is there such a package that provides for zero-inflated negative binomial mixed-effects model estimation in R? By that I mean: Zero-inflation where you can specify the binomial model for zero inflation, like in function zeroinfl in package pscl: zeroinfl(y~X|Z, dist = "negbin") where Z is the formula for the zero infl...
For two $n$ dimensional multivariate normal distributions $X_{1}\sim N\left(\mu_{1},\Sigma_{1}\right)$ and $X_{2}\sim N\left(\mu_{2},\Sigma_{2}\right)$, the Kullback-Leibler distance is given by $$KL=\frac{1}{2}\left(tr\left(\Sigma_{2}^{-1}\Sigma_{1}\right)+\left(\mu_{2}-\mu_{1}\right)'\Sigma_{1}^{-1}\left(\mu_{2}-\mu...
This might be a question for the programmers, but I thought I would ask here first. Im comparing browsing pressure on plants between sites. Ive a value to indicate Browsing Pressure and count data of trees that have been damaged between locations. Ive been using Crawleys R example (page 574) regarding sex ratios and...
Possible Duplicate: Weighted geometric mean vs Weighted mean I searched for the differences between WHM and WGM. When to use each of them? when not?
What are the assumptions of the Games-Howell multiple comparisons procedure? Please back up any answers with references.
I'd like to know whether starting from a beta distribution and iterating it in the way described below, I will get a stationary (beta) distribution again. More specifically this is the problem I am facing: Starting with a $\mathrm{Beta}(2,1.5)$, for each element $\phi$ drawn from this pdf, draw from an associated distr...
I have already spoken to a statistician and he did not seem certain about the answer, so perhaps it may be of use to others. The study is not typical, so please bear with me while I try to explain it. I have about 75,000 sentences of English conversations for a sample. I'm interested in whether sentences with a certain...
I am working with linear SVM (Using SVMlight) and I'm assisting to a weird phenomenon. The training algorithm weighted some features 0. Does that means such features are irrelevant for the classification? Looking at the dataset I found that the vectors containing such features belongs only to a category. And that to me...
I have a set of data composed of two variables $X$ and $Z$, where $Z = X + Y$. I want to make a statement about the relationship between $X$ and $Y$. For instance, I'd like to claim that $X$ and $Y$ vary together or correlate. Is there a way to do this with only measurements from $X$ and $Z$? As an additional wrinkle, ...
I have one question about using SPSS to calculate Cronbach's alpha of a measure that draws on two types of items: one yields ordinal data and the other dichotomous. The ordinal data are produced through 4-point rating items and the dichotomous data through true-and-false questions. Is it still OK for me to use the re...
Is there a popular implementation of Conditional Random Fields in Python? I can't seem to find any that is widely used and popular!
Possible Duplicate: How can a regression be significant yet all predictors be non-significant? In a simple linear regression with multiple predictors, is it valid to interpret the significance of individual predictors even though the overall model is not significant?
So, I'm a newbie in ML field and I try to do some classification. My goal is to predict the outcome of a sport event. I've gathered some historical data and now try to train a classifier. I got around 1200 samples, 0.2 of them I split off for test purposes, others I put into grid search (cross-validation included) with...
I am having an issue getting my head around this question as well. Gale-force winds occur on the average of 0.7 times every 54 hours. For an interval of 110 hours whats the probability r = 2? I believe I should solve it with Poisson Distribution (as it is in this weeks lesson, and question references using two decimal...
In Andrew Ng's online machine learning course in the part about neural nets for classification the following convex cost function is given: $$\text{cost} = -y\log(h_0(x)) - (1-y)\log(1-h_0(x))$$ which is predicated on the output labels being either 1 or 0 (a sigmoid activation function). I would like to code a NN class...
I am estimating a probit in jags on a time series cross sectional data set (country years) with 5 covariates, 4 of which are lagged, so the first observation for each country will be missing on those 4 variables. There is some scattered missingness elsewhere in the data, but nothing too bad. All of the variables are of...
Let ${\bf X} = (X_1, \dots, X_n)$ denote the log-intensities of all $n = 291$ tropical cyclones from the north Atlantic basin between 1980 and 2006. Log-intensity is defined as the logarithm of its maximum sustained windspeed (measured in knots). A tropical cyclone is a category 5 hurricane if its maximum sustained win...
I have a question related to linear function estimation. Suppose the potential line function model can be expressed as ax+by+c=0, where a, b, c are the unknown parameters that needed to be estimated. Now a set of data is given (x1,y1), (x2, y2), ... (xn, yn), and we want to make use of these data to estimate the parame...
A dataset has a few attributes. One of the attributes(attribute X) represents a distance with values expressed in meters. I use cross-validation to estimate the performance of Decision tree and k nearest neighbor classifiers. My questions: Why will the performance of k-nn change if I change the representation of att...
For example, we always assumed that the data or signal error is a Gaussian distribution? why? I have asked this question on stackoverflow, the link: https://stackoverflow.com/questions/12616406/anyone-can-tell-me-why-we-always-use-the-gaussian-distribution-in-machine-learni
common random numbers, antithetic variates, and control variates are all variance deduction methods. From their Wikipedia articles, it seems to me that they are all used when estimating some quantity of two distributions, and they reduce variance of estimators by controlling the covariance between the random variables...
Approximately 50% of cases are missing data on one of my predictor variables. With the default option selected (listwise treatment of missing data), the models produced are weak. This is probably because the listwise option reduces n substantially. The alternative (pairwise exclusion), when selected, produces a strong ...
I just want to ask about the Arima function in forecast package. The usage of it is, Arima(x, order=c(0,0,0), seasonal=list(order=c(0,0,0), period=NA), xreg=NULL, include.mean=TRUE, include.drift=FALSE, include.constant, lambda=model$lambda, transform.pars=TRUE, fixed=NULL, init=NULL, method=c("CSS-ML","M...
Let us assume we are estimating a proportion or rate of "hits". If we have $h$ hits and $m$ misses, the obvious estimator is $\dfrac{h}{h + m}$ In order to avoid unreasonable estimations of $0$ or $1$ when our sample size is small, we can do some (Add-1/Laplacian) smoothing: $\dfrac{h+1}{h+m+2}$ I have read that this h...
For the Gaussian distribution with unknown mean and variance, the sufficient statistics in the standard exponential family form is $T(x)=(x,x^2)$. I have a distribution that has $T(x)=(x,x^2,...,x^{2N})$, where N is kind of like a design parameter. Is there a corresponding known distribution for this kind of sufficient...
I am looking at the effect of genotype on a continuous variable. In total 16 comparisons were done involving 9 different SNPs. The number of significant events was 3 out of 16 tests (Mann-Whitney U-test). Is it necessary to correct the p-values to account for multiple comparisons?
I'm looking for a way to fit several arbitrary discrete distributions to another discrete distribution using maximum likelihood, but I'm having trouble finding a function to do this in numpy or scipy. I'm ok with using another library, so long as it's in C++ or Python it is designed specifically for fitting (trying t...
Apologies if this is a little confusing. If anything needs clarifying, I'll edit the question as best I can. Thanks. If we take a sample of, say, 100 people, we could measure their heights, and find the mean and standard deviation. We can calculate an estimate of the standard error from this single sample to find wher...
I am trying to estimate the value of a parameter by equating variance from a distribution to the sample variance... i.e. using method of moments estimation. Would it better to use the variance formula with $1/(n-1)$ in the denominator or $1/n$? Why is one better than the other? thanks I'll give an example: say I have ...
In a paper looking at hand movements and time taken to complete a task it appears that the ratio of movements over time is constant (i.e., movement and time are highly correlated) yet they say in the paper they can control independently for both variable - how is this possible? There is a strong relationship between t...
Data for certain kinds of variables tends to be non-normal when measured in particular populations (e.g. levels of depression in a population of people with Major Depressive Disorder). Given that Pearson's assumes normality, how robust is the test statistic under conditions of non-normality? I have a number of variabl...
I have a data set with four variables and 3000+ observations on which I performed an LDA. I was wondering how I can use the scaled coefficients of linear discriminants (output of R shown below as example) to draw decision boundaries in the original variable space? LD1 LD2 LD3 [1,] 49.5077 12.3211 2...
I have been thinking of modeling human timing data using jags where the data comes from an experiment where participants tap in time with a very slow metronome. The data is then a number of measurements of how "off" the tap was compared to the metronome. The data could be thought of as coming from a normal distribution...
Suppose on the flop in no limit hold'em two players go all-in. They both have 2 hole cards and there's 3 community cards on the board at present. There will be 2 more cards drawn and each player will make the best 5 card hand out of the 5 community cards and their own 2 hole cards. Sometimes people like to "run it out"...
This is a question from a data mining exam: You are working with a dataset that contains descriptions of toxic and non-toxic substances. The dataset, which consists of 1000 examples from each of the two classes, is described in terms of a class label and a number of attributes. The dataset is sorted so that the 1000 to...
I'm about to use the glm() function in R, and I know that I have to specify which family of variance/link functions I want to use (either gaussian, binomial, poisson, Gamma, inverse.gaussian, or quasi-which I take to mean user-defined). I understand that binomial is to be used for things like logistic regression, but i...
I am going to conduct a survey in order to collect information for two variables and then calculate the correlation between them. If we assume that $alpha$ = 0.05, $power=0.80$. Can someone show me a step by step method of how a sample of 85 was determined with a medium effect size? And is there a procedure in SAS I ca...
$$SE = \frac{SD}{\sqrt{N}}$$ If N is the entire population, I would expect SE to be zero. If N is equal to population size - 1, I would expect SE to be lower than if N is a small fraction of the population size, yet SE is the same. So why isn't population size part of SE? While a mathematical explanation is great, I'...
I know $E(aX+b) = aE(X)+b$ with $a,b $ constants, so given $E(X)$, it's easy to solve. I also know that you can't apply that when its a nonlinear function, like in this case $E(1/X) \neq 1/E(X)$, and in order to solve that, I've got to do an approximation with Taylor's. So my question is how do I solve $E(\ln(1+X))$??...
Looked but could not find so I apologize if this is a repeat of a question already asked - Can I conduct an EFA with an N of 180 and 70 variables? I say NO but my advisor still wants me to do it. Thank you in advance!
One of the motivations for the elastic net was the following limitation of LASSO: In the $p > n$ case, the lasso selects at most n variables before it saturates, because of the nature of the convex optimization problem. This seems to be a limiting feature for a variable selection method. Moreover, the lasso is n...
The lifetime of a particular brand of batteries is known to have a gamma distribution. Tests on a large sample of these batteries show a mean lifetime of 480 hours and a standard deviation of 96 hours. Some questions I require help on Show that the moment estimators for the gamma distribution parameters are alpha(hat)...
Given the median is $m>0$ We have $n$ random variables: $Y_1,Y_2,..,Y_n$ If we observe a value above $m$ then $Y_i=1$ if we observe a value below $m$ then $Y_i=0$ The probability of getting an observation above $m$ is "$p$" $(i)$ Then what distribution is $Y_i$ describing? I think $Y_i$ is describing Bernoulli trial...
There are several good books about machine learning and there are many mathematical explanations for several classification models (in most books personally read commonly explain Naive Bayes, Logistic Regression and SVM). Besides the Naive Bayes, Logistic Regression, SVM and several decision trees for which I understan...
If I have a data set with $n$ patients and I have a categorical variable $X$ for each patient, I want to drop all patients whose $x$ is a particular value. Question 1: what is the term (preferably the epidemiological term) for variable $X$? (Is it an exclusion criteria variable [I've never seen this term before, I'm j...
Is it possible to interpret coefficients from a quantile regression on standardized data? Suppose I standardize the dependent variable $y$ and the independent variable $x$ (subtract the mean and divide by the standard deviation) and then run a quantile regression for the median such as qreg y x, q(0.5) in stata. The...
I have been studying an organisation with 58 people with a number of Likert style questionnaires. The data are not random samples but rather incomplete census's. For the 6 questionnaires I managed to get between 49 & 57 respondents. However when I come to combine questionnaire data, the number can fall to say 43 subjec...
If I have disease free survival data (defined as whether or not a particular disease has been diagnosed or not along with the time to that event or loss to follow up) and also overall survival data, how do I deal with deaths that occur without the disease event? Are these censored or should I exclude such patients from...
I have a model of total reaction time T, which is a composite of a selection time S and a discrimination time D. So a person first finds something, this takes the tS. Then he discriminates and reports an attribute of this thing, this takes the time D. We only measure the total time T, though. So, my model for T is: T =...
(5 points) Assume that we are interested in generating a model (e.g., a decision tree) from a sample of examples of a specific size drawn from some distribution. Assume further that we would like to investigate how sensitive the resulting model is to the actual choice of training examples (i.e., how the performance var...
I took the original Stanford AI course and got an immense amount out of it. I got a poor score since I did not have a great deal of time to work out all the problems.. But what I really enjoyed about the course was getting a grasp of the new techiques, way beyond the conventional statitistcs.. I'm looking for a way to ...
Is it possible to have a variable that acts as both an effect (measurement) modifier and a confounder for a given pair of risk-outcome associations? I'm still a little unsure of the distinction. I've looked at graphical notation to help me understand the difference but the differences in notation are bewildering. A gra...
From Wikipedia if an LCG is used to choose points in an n-dimensional space, the points will lie on, at most, $m^{1/n}$ hyperplanes (Marsaglia's Theorem, developed by George Marsaglia). This is due to serial correlation between successive values of the sequence $X_n$. Mathematically, what is the serial correlation ...
I have a regression predicting wage (dependent variable) from whether the participant is a college graduate (dummy variable, independent). I have the regression coefficients and their standard errors, the R-squared of the regression, and the covariance between the intercept and the coefficient on the dummy variable. ...
Regression: Wage=b0+b1collegegrad, where collegegrad is a dummy variable. Suppose you want to estimate the wage ratio between college graduates and non-college graduates. Is the estimator theta=b0/b1 consistent? My thinking is that if we could increase our sample size to infinity, we would cover the entire population a...
$X_{1}$ and $X_{2}$ are independent, chi-square distributed random variables. I've managed to show that $Z=X_{1}+X_{2}$ is independent of $\frac{X_{1}}{Z}$. How do I conclude then that $Z=X_{1}+X_{2}$ is independent of $(\frac{X_{1}}{Z},\frac{X_{2}}{Z})$?
I am trying to understand the relative behavior of the following rank correlation statistics: Spearman coefficient Kendall Tau / Concordance percentage Normalized Gini coefficient (area under curve of percentage captured versus percentage observations) Normalized Area under ROC curve (for binary classifiers) I don't ...
I once stumbled across a type of plot for categorical data (i.e., contingency tables) on the internet, which I really liked, but I've never found it again, and I don't even know what it's called. It was essentially like a sieve plot, in that the row heights and column widths were scaled relative to the marginal probab...
I'm a newbie in cluster analysis so please excuse me if my question seems to be very basic. I'm using SPSS and Matlab for performing cluster analysis in a variety of datasets. Dendograms are great for visualising the results. However, they are not helpful for comparing the results produced by different clustering metho...
The particle physics community tends to report the significance of a discovery by first calculating the p-values over a range of hypotheses (i.e. values of mass for the hypothetical particle), and then correcting for the "look elsewhere effect". As far as I can tell, this is particle physics jargon referring to the ten...
I'm doing ordinal logit/probit only to analyse the direction of causality (e.g. if some variable makes it more likely to observe a low scale or a high scale). No interpretation is needed beyond this. I can only report either (i) odds ratios, (ii) coefficients, in my table. Is there a standard one I should be reporting...
Will I be breaking the logic of supervised training if I check generalisation error in the process of NN training to see if it increases, and then do something to the NN if it does? Generalisation error is the only indication of overfitting. On the other hand, using generalisation error for training purpose implicitely...
I am writing up a logistic regression that looks at parenting factors (ie., parental depression, anxiety and stress) as predictors of the presence of a child anxiety disorder diagnosis. What is the protocol re. reporting the bivariate correlations (accoridng to APA6- or even just generally)? Is it advised to include a ...
I understand that in the one sample case, z is employed where population variance is known and t for where it is unknown. In the two sample case: we are trying to test $H_0: \mu_x=\mu_y$ against $H_1: \mu_x\not= \mu_y$, for finite variance; $\sigma^2_x$ and $\sigma^2_y$; while $n_x$ and $n_y$ are respective sample siz...
Please assume that I have two metric independent variables (e.g., two blood parameters), and a dependent variable (e.g., a disease). On the DV, 0 represents the absence from the disease, 1 represents a weak occurrence ... 10 (max.) represents a very strong occurrence (please ignore the usefulness of such an assessment)...
There's a distinction that's tripping me up with mixed models, and I'm wondering if I could get some clarity on it. Let's assume you've got a mixed model of count data. There's a variable you know you want as a fixed effect (A) and another variable for time (T), grouped by say a "Site" variable. As I understand it: glm...
I am trying to match the outputs of PROC REG with PROC GENMOD. I ran a sample test on the 'iris' dataset of R. The data set is as follows (150 rows in total): Sepal.Length Sepal.Width Petal.Length Petal.Width Species 1 5.1 3.5 1.4 0.2 setosa 2 4.9 3.0 1.4 ...
Let $X_1, X_2, \dots, X_n$ be a sample of i.i.d. random variables, with density $$f_\theta=\frac{2}{3\theta}\left(1-\frac{x}{3\theta}\right) $$ for $0 < x < 3\theta$. And $f_\theta=0$ if $ x < 0$ or $ x>3\theta$ Let $\hat{\theta}=\overline{X}$ be an estimate for $\theta$ I showed that $\hat\theta$ is an unbiased estima...
For some time already I am studiyng and applying machine learning methods. Recently for some particular problem, where methods like SVM, RF, neural nets etc. failed I got limited success with genetic programming, which was quite new area for me in practice at the moment. But right now it looks like, I really need to im...
I have a data frame with each column contains categorical data: 0,0.5,1,-1 T116 T111 T11 T109 T108 T107 T105 T104 T55 T52 T58 T1 cg21277995 1.0 0.5 0.5 0.5 1 0.5 1.0 1.0 1.0 0.5 1.0 0.5 cg01324372 0.0 0.5 0.0 0.5 1 1.0 0.5 1.0 1.0 0.5 1.0 0.5 cg13836638 1.0 0.5 0.0 0.5 1 1.0 0.5...
Propensity score matching (and other matching techniques) are used, as far as I have seen, exclusively for identifying causal effects of a treatment (intervention) and particularly where there is a suspicion of selection bias. However I do not see why they might not be useful for other cases of comparing two groups wit...
In my test procedure I sequentially take 10 measurements of a recently perturbed physical system, and I often find the first few (between 0 and 4) measurements can be inaccurate because the system has not settled/equilibrated. The initial non-equilibrated measurements may just have less accuracy or show a distinct tren...
I am trying to use the chi-square test for identifying random data. I have 256 categories, i.e. 255 degrees of freedom and count the occurrence of byte-values (0-255). As suggested by Knuth, the observed sequence of bytes is random, if the chi-square value is between the chi-square-values of p=5% and p=95% (I read thes...
I would like to obtain the ratio between two distribution densities and I wonder whether there is some well-founded and established approach to do that. Let's say that I have two samples for the random variable $X$ coming from two populations, $P_1$ and $P_2$, that are likely to be distributed differently across the va...
When doing frequentist stats, there is a long list of big no-nos, like looking at the results of statistical tests before deciding to collect more data. I'm wondering generally if there are a similar list of no-nos for the methodologies involved in Bayesian statistics, and specifically whether the following is one of t...
I'm helping a friend perform a logistic regression on field data pulled from several archeological sites. By chance the overwhelming majority of records in the analysis dataset were collected from a single site. In order to prevent the characteristics of this one site "overwhelming" the other sites, is it appropriate ...
In a recent paper , Masicampo and Lalande (M-L) collected a large number of p-values published in many different studies. They observed a curious jump in the histogram of the p-values right at the canonical critical level of 5%. There is a nice discussion about this M-L Phenomena on Prof. Wasserman's blog: http://norm...
Can anyone help with the understanding of this notation (and idea) from the vignette for GBM in R? It starts with the following: Question 1: I believe this is simply saying that we are looking for the function f(x) that minimizes the average value of the loss function (and that expected value is over all values of X a...
I am reading an article which uses a simple least squares model to measure the effect of a prevention campaign on methamphetamine use (http://www.ncbi.nlm.nih.gov/pubmed/20638737). In its second equation, it uses state fixed effects in an OLS model to capture the effect of living in each state. Meth ~ constant + Bet...
I built a SVM-based classifier against a data set, the precision is about 66% and the recall is about 88%. Generally, what are the options to tune the parameter that can increase the precision?
So I have an event that can occur on a daily basis with probabilty 1%. There is no dependence between days. Now I can calculate the probabality of the event occuring X times in Y days: COMBIN(Y,X) * (0.01 ^ X) * [0.99 ^ (Y - X)] where COMBIN() is the number of combinations for X in Y. Now what I'd like to calculate ...
Possible Duplicate: Under what conditions should one use multilevel/hierarchical analysis? I have been reading various papers dealing with multilevel analysis, and to be honest, I am still confused re: choosing simple OLS regression or multilevel (random or mixed) models when data is clustered, but the main focus of...
In his book "All of Statistics", Prof. Larry Wasserman presents the following Example (11.10, page 188). Suppose that we have a density $f$ such that $f(x)=c\,g(x)$, where $g$ is a known (nonnegative, integrable) function, and the normalization constant $c>0$ is unknown. We are interested in those cases where we can't ...
It is common in regression to see $R^2$ formulated as follows: $$R^2\equiv 1 - {SS_{\rm err}\over SS_{\rm tot}},$$ where $SS_\text{err}=\sum_i (y_i - f_i)^2$ and $SS_\text{tot}=\sum_i (y_i-\bar{y})^2$. This exact formulation seems to make the most sense if the goal of the regression is indeed to minimize the residual ...
Let's say you have a model that predicts annual GDP growth. It has a standard error of 2%. You have a second model that predicts annual stock returns. It has a standard error of 6%. What is the standard error when you estimate stock returns based on estimates of GDP growth?
I'm thinking of the difference between two random variables, e.g. the spread between two stock prices.
Let $X$ by the joint distribution of the random variables $A$, $B$, $C$, and $D$. Let $(A \perp B) \mid (C, D)$ and $(C \perp D) \mid (A, B)$. I understand that this distribution should factor over the four pairwise cliques. $\Pr(X) = \frac{1}{Z}\phi_1(A,D)\phi_2(A,C)\phi_3(C,B)\phi_4(D,B)$ However, I'd like to see ho...
I am attempting to find a reference which explains how one computes standard errors for local polynomial regression? Specifically, in R one can use the loess function to get a model object and then use the predict function to retrieve standard errors. Is there a reference somewhere to what is actually happening? What ...
This source claims that measurement error in the dependent variable leads to more type I errors (page 2, 4th line of text). However I thought that higher variance of residuals --> larger elements of diagonal of regressor variance covariance matrix --> lower t-statistics / type II errors (failing to reject incorrect nul...
It seems to me as if the go-to technique that is used to make any prediction model more "interpretable" is to reduce the number of input variables that are used in the model. I'm wondering if there are any other big picture approaches that one can take to make these models more interpretable? By a model that is inter...
I'd like to do a power analysis for a single sample from binomial data, with $H_0: p = 0$, vs. $H_1: p = 0.001$, where $p$ is the proportion of successes in the population. If $0 < p <1$, I could use either the normal approximation to binomial, or $\chi^2$-test, but with $p =0$, these both fail. I'd love to know if the...
I am using 2007's Social Security Life Table: http://www.ssa.gov/oact/STATS/table4c6.html I would like to use the table to generate a number for each scenario I ran. This number represents the remaining life (in years) scenario n will live. The way I plan to do this is to first input an age 'x' let say age 60. I get th...