instruction stringlengths 9 38.7k |
|---|
I am trying to use urca library to do cointegration test, and its function ca.jo, which conducts the Johansen procedure on a given data set.
I think a lag order of 1 is possible for a cointegrated VECM, which means it does not have short term error correction. For example, we have VAR(1)
$$
X_t=\Pi_1X_{t-1} + \epsilon_... |
Consider Schelling's question about a focal meeting point for NYC in game theory (described in the second paragraph under Formulation in the Wikipedia entry). Schelling didn't say how many students he surveyed. How many students does he have to interview to be 95% sure that the mode is the population's mode, assuming ... |
As far as I know, Taylors expansion works for fixed functions. I was wondering why it is justified to use it on the log likelihood. Even if we consider it as a function of only $\theta$, doesn't it have components that change as n increases (like $\sum X_i$ for example) ? Is it really always ok to say something like
\b... |
I got nice graphical representation of Machine learning for clustering / classification.
Source: Kernel Approaches to Unsupervised and Supervised Machine Learning by Sun-Yuan Kung
Here are my thoughts on difference:
Supervised vs Unsupervised:
Supervised learning is the machine learning task of inferring a function f... |
I'm trying to estimate performance of an investment account over 20 years. The question is, have I set up the Monte Carlo simulation correctly? I've used Excel. I've assumed 8% average return and 13% volatility and a starting account size of $100,000.
I generate a random return using the function norminv(rand(),mean,S... |
I am analyzing some time course data in which I have set up a GLM using R for each subject. Each GLM I want to run is an attempt to extract estimates of different behavioral conditions effects on the time series, and each GLM is all within a single individual.
glm(dilation~happy+fear+neutral+post_decision, data=dilati... |
I would like to generate a random number from a piecewise exponential distribution.
I consider that the time-scale is divided in $J$ intervals with bounds $(s_{j-1},s_j]$, for $j=1,...,J$, and corresponding rates $\lambda_j$.
Considering the memoryless property of the standard exponential distribution, is it correct to... |
I've seen in video lessons that if the sample size is big enough (n>30) sample distribution standard deviation can be approximated by sample standard deviation. How do we get the sample distribution standard deviation if sample size is small (n=10)?
|
I'm trying to build a monte-carlo simulation that can revise it's distribution of outcomes of a project based on observed measurements after the project has started.
I have a few questions about the best way to do this. I'm not a statistician, so please correct me if I am doing something wildly wrong.
For example, let'... |
I know normality assumption is not necessary for all of the ARIMA models. My question is that if we have a non-normal time series, is it better to transform it to normal state by transformations like Box-Cox and then use it in the model? what are the pros and cons of these transformation in ARIMA models?
|
Does the following corresponds to an existing process?
N subjects are subjected to m test items. 2 between-subject factors are manipulated with 2 modalities each. An ANOVA reveals that one of the factors is significant.
Does it make sense to run an "item" analysis for the significant factor? This analysis would serve ... |
I have 2 correlation matrices $A$ and $B$ (using the Pearson's linear correlation coefficient through Matlab's corrcoef()). I would like to quantify how much "more correlation" $A$ contains compared to $B$. Is there any standard metric or test for that?
E.g. the correlation matrix
contains "more correlation" than
I ... |
I'm a complete newbie :)
I'm doing a study with a sample size of 10,000 from a population of about 745,000. Each sample represents a "percentage similarity". The great majority of the samples are around 97%-98% but a few are between 60% and 90%, that is, the distribution is heavily negatively skewed. Around 0.6% of the... |
I have a correlation matrix $A$, which I obtained using the Pearson's linear correlation coefficient through Matlab's corrcoef(). The correlation matrix of dimension 100x100, i.e. I computed the correlation matrix on 100 random variables.
Among these 100 random variables, I would like to find the 10 random variables wh... |
I have a noisy data of two variables like this.
x1 <- rep(seq(0,1, 0.1), each = 3000)
set.seed(123)
y1 <- rep (c(0.2, 0.8, 0.3, 0.9, 0.65, 0.35,0.7,0.1,0.25, 0.3, 0.95), each = 3000)
set.seed(1234)
e1 = rnorm(length(x1), 0.07,0.07)
set.seed(1223)
e2 = rnorm(length(x1), 0.07,0.07)
set.seed(1334)
yn <- rnorm(20000, 0.5,... |
In a particular example from the book Epidemiologic Research by Kleinbaum [example 15.1], I have three problems.
Consider the data in table 01. These data pertain to a follow-up study concerning the possible association between obesity and mortality(from all causes) among white women aged 60–75 from a midwestern urban ... |
I'm wondering if there is any math/stat theory out there to support or deny this idea:
I am using cross-validation and building models over a vector of parameter values to then choose the optimal value of that parameter. Can I then, decide that that is the optimal parameter value and go on to choosing the optimal value... |
I was checking on Type I (reject a true H$_{0}$) and Type II (fail to reject a false H$_{0}$) errors during hypothesis testing and got to to know the definitions. But I was looking for where and how do these errors occur in real time scenarios. It would be great if someone came up with an example and explained the proc... |
I have the test scores of two groups, say A, and B. And the former consists of 186 individuals whereas the latter only has 100. The test scores range from 1 to 12, and because group A has more people, it obviously has a total higher score than group B. My question is how can I standardize the test scores so that I can ... |
While searching for a job for data analyst I found out that many jobs where data analysis is widely used do not include "data" or "statistics" in position title, for example credit specialist, business analyst and so on.
What are suitable job positions for people who want to analyze data? Moreover, how they differ?
|
I am performing a logistic regression on a rather big dataset (700k+ samples and 1k+ features). I suspect that a lot of these features will be highly correlated and multicollinearity can be an issue.
I believe that with elastic net regularisation is can perform feature selection and shrink the parameters of correlated ... |
Does anyone know the difference in calculation between these two AUC packages? They get different results when I add in positives with predicted value of 0 (simulating a prob model where many outputs will be zero e.g. randomForest). So I would like to know why there is the kink in the pROC results (red) and the AUC 'fl... |
I am investigating the following problem: I have a large set of values, many of which are repeated. Measuring the number of distinct (or unique) values shows that their number grows much slower than the number of total values, so that with 2M values I get just ~260k distinct values, with 20M values it goes up to just ~... |
I am confused between these two terms: sensitivity and concordance. What I understand about these two terms:
Concordance: the number of pairs where actual 1s have higher predicted probability of becoming 1s than 0s divided by total number of pairs.
Sensitivity: percentage of 1s correctly predicted as 1.
By their defini... |
Ok, Let me tell you that this is the very first time that I have no idea with the question below. I can not find a solution or anything that will lead me to it. I say this to prevent comments "what did you do?". I apologize in advance.
This is one of the questions in Peter M. Lee's Bayesian Statistics: An Introduction ... |
Here is my problem. I am looking at various time series curves. Let's call them total spend aggregated over all customers on various products versus time. At any given time, I want to predict the spend on any product for which I don't have data, based on the spends from the products for which I do have data. The number... |
I'm about to do my analysis of my Master's thesis, but I have a question. I want to check whether media effects on political trust are different between natives and immigrants. These are my variables:
Dependent: political trust (a continuous variable, ranging from 0 to 70 (I summed up seven items on an 11-point sca... |
Dear crossvalidated community,
quite frankly, I'm not that much into statistics and therefore, I'm having much trouble solving some issues im having in Matlab right now. My plan is to imitate/simulate some realistic driving patterns of costumer in a car sharing simulator. Therefore, I picked a logarithmic probability d... |
So the background is that the I collected yield data for past 5-6 decades and location from where I collected yield data had high yielding varieties introduced over time. I am looking at the relationship between yield and rainfall but this introduction of HYV might affect the true impact of monsoon on yield and therefo... |
The data-generating-process is: $y = \text{sin}\Big(x+I(d=0)\Big) + \text{sin}\Big(x+4*I(d=1)\Big) + I(d=0)z^2 + 3I(d=1)z^2 + \mathbb{N}\left(0,1\right)$
Let $x,z$ be a sequence from $-4$ to $4$ of length $100$ and $d$ to be the corresponding factor $d\in\{0,1\}$. Take all possible combinations of $x,z,d$ to calculate ... |
I am working on an early phase software startup to help other SaaS (software as a service) companies retain new customers. We will be sending out automatic emails designed to look like they are written in a one-off personal fashion. The contents of the email will be tailored to reflect how much time they have invested ... |
This question: Comparing and contrasting, p-values, significance levels and type I error cites exceptions that arise when using discrete data. Are there other exceptions with continuous data as well?
|
I am reading a text book on missing data, and a sentence below is slightly challenging for me to understand.
The marginal probability density of $ \left ( x_{obs}\ \right)$ is obtained by integrating the missing data $ \left ( x_{miss}\ \right)$
$$ f\left ( x_{obs}|\theta \right )=\int_{}^{}f\left ( x_{obs},x_{miss... |
I am doing some experiments with LDA (Linear Discriminant Analysis), in python.
Now I am at the point in which I would like to display the separation planes in the 3-dimensional feature space.
I tough that a solution could be, initially, querying the feature space so that for each coordinate ("voxel"), the inferred cat... |
I am plotting GDP against exports for 134 countries. I have data for three years. For each year I can easily plot these scatter dots and see the relative country positions but I am interested in the change in positions in the graph for each country. In other words, I'd ideally like to plot GDP against exports for all c... |
I've got a problem that can be summarized as a linear regression. Thus it takes the following form:
$$
Y=X \beta +\epsilon
$$
where $Y$ and $\epsilon$ are vectors of size $N\times1$, $X$ is a matrix of size $N\times3$, and $\beta$ is a vector of size $3\times1$ (i.e., I am solving for three parameters).
The proper way ... |
I am confused about the concept of cross validation and its usage.
As I read about cross validation before, it is a way of validating a model. I did cross validation in my project (developing different regression models on a dataset, model validation and finally choosing best model). Cross validation just give me a m... |
I have the following logistic regression:
$$
\text{logit} (y) = \beta_0 + \beta_1\, x
$$
from which I can estimate the following posterior probability (using a Bayesian approach):
$$
P(\beta_1>0\,|\,\text{Data}).
$$
Is there a particular name for that probability (something like Bayesian one-sided p-value)?
|
How can I determine a significance factor?
For example,
If 1/1 samples returns positive, the ratio is one.
However, if 9/10 samples return positive, the ratio is .9, but is better because of the number of samples tested. Is there any way to statistically rank these test scenarios. I know it may be up to subjectivity, e... |
I'm not sure the best way to explain this, so let me give an example that motivates my question. I have tried reading the RPART manual, documentation, and its code, but I have not been able to resolve this.
Let's build two classification trees from the iris data: one using only 2 predictors (Sepal.Width & Petal.Width),... |
I am trying to understand some descriptions of PCA (the first two are from Wikipedia), emphasis added:
Principal components are guaranteed to be independent only if the data set is jointly normally distributed.
Is the independence of principal components very important? How can I understand this description?
PCA is ... |
I am trying to fit a model where there is a sequence of exogenous "shocks", $X_1, X_2, ..., X_T$, and a AR(1) of these shocks explain $Y_1, Y_2, ..., Y_T$. Specifically,
Data (known):
$X_1, X_2, ..., X_T$
$Y_1, Y_2, ..., Y_T$
Priors (known):
$\phi = 2 \phi^* - 1$, where $\phi^* \sim Beta(\alpha, \beta)$, "persistence" ... |
I have a small data set 30 features/predictors and 30 observations. My target variable is Oil production and my predictors are well & reservoir properties (depth, trajectory, temperature, pressure etc) I want to identify the manner in which these features impact the target variable via identifying patterns that may exi... |
I was reading Koller's and Friedman's Probabilistic Graphical Models book and became confused about some of its notation because of a set of notes that either contradict it or express it differently. Whichever it is, I would like to clarify.
The notation is:
$(\textbf{X} \perp \textbf{Y} , \textbf{W}\mid \textbf{Z})$
T... |
Please tell me what the actual assumptions of a two way anova are. I read somewhere that this being similar to multiple regression, the only assumption is that the residuals are to be normally distributed with equal variance. But then a web search gave the following assumption "Two-way anova, like all anovas, assumes t... |
I would like to be able to sample the standard deviation of a multidimensional Gaussian distribution of dimension $n$; that is, given some $\phi$, I would like to sample
$P(\sigma | \phi) \propto \frac{1}{\sigma^n} e^{-\frac{\phi}{2\sigma^2}}$
For high $n$, this distribution is sharply peaked; for my purposes $n$ will ... |
Let's say I want to do a multiple-sample z-test for proportions. Is there any way to rank them?
How would I compare more than two samples at once?
|
In linear or generalized linear mixed effects models, random effects are incorporated to explain the within-unit correlation for repeated measures over time. In Bayesian modeling, conventional prior choice for random effects are Gaussian, which is lack of theoretical justification and is chosen only for mathematical co... |
I might be wrong, I just feel that the following case is different from the problem of modelling observations with a conjugate prior:
Suppose I have $n$ different Gaussians each with a different (but known) mean $\mu_i$ and variance $v_i$:
$N(\mu_i,v_i), i=1..n$
So here the observations are actually about the parameter... |
Non-parametric ANOVA – a hot topic that is unanswered.
There are many questions on this topic online. However, they all seem to end in a debate and no definite answer or clear explanation (that I can relate to my data set). The only good answers I can find seem to relate to one treatment, that was repeated over time. ... |
I know that the standard error of the mean for an iid sample is calculated as $$\frac{\sigma}{\sqrt{n}}$$
However, assuming a normal distribution with known mean and standard deviation, how do you calculate the standard error of an arbitrary quantile?
For example, assume
normal distribution
population mean = 0
populat... |
I am currently looking for texts (or preferably a specific text) which have a good balance between theory and application and are as comprehensive as possible and are at an introductory level, covering these topics:
Markov Chains, MCMC, GLMs and extended linear models, Decision Trees, Spatial Statistics, Visualization... |
I'm working on a problem that involves a large amount of NA's. How does VW work around this? Should I try to impute the NAs with colmeans or something similar before piping into VW format?
|
I am trying to do a Bayesian analysis in which my likelihood function is a probit function on two parameters. From various sources, I found out that Normal distribution is a conjugate prior to probit likelihood, but I am not being able to compute the posterior from the functions. Here are the details of the problem
Lik... |
I am asking this question against the background of a linear regression with single predicted variable $Y$ and multiple predictors $X$. $X$ comes from a survey using an "item pool" which suggests that not all items are presented to each respondents, but only a subset of items is. This subset is randomly selected (but i... |
Formality says that when computing the sample variance or sum of squares one computes a sample mean with the sample data given.
If for some reason I had access to a better estimate of the mean (from a bigger sample) then can I use that mean instead of the mean from the given sample?
I want to compute the $R^2$ and t-s... |
I am to use the Squared Exponential kernel (SE) for Gaussian Process Regression. The advantages of this kernel are: 1) simple: only 3 hyperparameters; 2) smooth: this kernel is Gaussian.
Why do people like 'smoothness' so much? I know that the Gaussian kernel is infinitely differentiable, but is that so important? (... |
I have a data set based on 14 field sites, the dependent variable I am investigating is count data recorded at each site (on 3-5 visits). The independent variables (I have around 45) are fixed at each site (apart from wind speed and temperature). An example data set, illustrating this is below:
Trees w... |
For my survey data analysis, I ran an Ordinal Logistic regression using the 'polr' function.
The summary of the regression is as follows:
My question is:
Do I need to standardize my beta values?
If so, is lm.beta the right approach (as per my understanding, it only works for linear models)? And if not, could you ple... |
I'm working through Rasmussen's Gaussian Processes book, and I have a question about the possibility of optimizing additional basis function hyperparameters (in section 2.7 http://www.gaussianprocess.org/gpml/chapters/RW2.pdf).
The text explains that the hyperparameters can be varied to maximize the log marginal likeli... |
Let's say we have this:
model2 <- lmer(milk.amount~(1|cow), data=milk, REML=FALSE)
model1 <- lmer(milk.amount~(1|cow), data=milk)
summary(model2)
Linear mixed model fit by maximum likelihood ['lmerMod']
Formula: milk.amount ~ (1 | cow)
Data: milk
AIC BIC logLik deviance df.resid
186.5 191.6... |
I've collected data measuring several different parameters in several subjects at two time-points (t1 and t2).
X and Y are meausurements of two anatomical structures; X is an area measured in mm2, Y is a volume measured in mm3. For each one I can describe at least 4 variables: measuments at t1 and t2 (eg. X1, X2), abso... |
I am trying to reproduce table 2.1 (p. 41) of LeSage and Pace (2009) by means of the open R software.
This is a table containing the direct, indirect and total impacts of a SAR model (since the regression coefficients cannot be interpreted directly because of spillovers), partitioned by W-order.
I am able to produce th... |
I'm looking at using a VARMA model to both determine the driver so value in some advertising campaigns and also to forecast future activity. I'm looking at the paper by Takada and Bass as a reference point and I'm looking through the documentation for the MTS package by Tsay (the accompanying book is on order).
I've no... |
I've implemented baseline predictors model.
It trains on data: "user_number item_number rating_ui"
And then I need to predict raiting for "user_number item_number".
I use following formulas for biases:
b_ui = average_rating + b_i + b_u;
b_i = (sum_(by all items)(rating_ui-average_rating))/(lamda_2+items_count);
b_u = ... |
After multiply imputing data, it is natural to estimate regression models on the data. When multiple predictors are available, sometimes stepwise regression is used for model building (forward inclusion or backward elimination of covariates). My question is how to use a similar procedure on multiply imputed data sets (... |
I have some time-series data that displays a count value for every day:
These count values begin at 1 or -1 and will continue to count up (or down) if conditions in the time series are met. If the conditions are not met consecutively, then the count value can return to -1, 0, or 1 (to initiate the next count series).... |
I am currently working on a project the includes fitting. For the fitting I would like to try uniform random starting parameters. The possible fit parameters can lie in quite a large range, for example 10^-15 to 10^15 while others can lie in the range of -1 to 1. So quite diverse.
When I try to create random numbers th... |
I'm using R to do some time series estimation. I'm trying to rebuild the fitted values from an Arima model by hand to use in an Excel spreadsheet using the estimated coefficients and the input data. I can use the fitted command, but I'm trying to understand more how it works. Ex:
library(MASS)
library(tseries)
libra... |
I was wondering if there was a specific way to convert probit regression results into a probability that a test subject is a member of group 1 (vs group 0) if you break up the dependent variable into 2 groups (e.g. success vs. failure.) I know that for logistic regression you use the inverse logit of the sum of the coe... |
Say I want to see whether two variables y and x1 are linearly related, while controlling for the effect of an x2 "nuisace" variable. What is the difference between
(a) regressing y over x1 and x2 and just looking at x1's coefficient; and
(b) doing a partial correlation for y and x1 while controlling for (co-varying) x2... |
My question is simple: is there a function in R which estimates the linear regresion model in a similar fashion as lm, but only using the means, variances, and covariance (correlations), i.e. the sufficient statistics? I am looking for a function to which I can input these statistics (plus sample size) and it returns r... |
I provided my current (partial) solution, and I hope someone can correct me and/or give me suggestions as to how I should solve the parts that I've left out.
Given an SVM with kernel:
$$K(x,z) = \theta(x)^T \theta(z) =
\left\{
\begin{array}{ll}
1 & \text{if } x = z \\
0 & \text{otherwise}
\en... |
I can use a GridSearchCV on a pipeline and specify scoring to either be 'MSE' or 'R2'. I can then access gridsearchcv._best_score to recover the one I specified. How do I also get the other score for the solution found by GridSearchCV?
If I run GridSearchCV again with the other scoring parameter, it might not find the... |
In Wikipedia's summary on Cramér's $V$, it is mentioned that it can (also) be used in the one-dimensional case as measure of concentration.
What is the formula in this special case?
Is there any reference about this alternative use?
|
Disclaimer: I do not have a background in statistics or the math behind filtering, save one long-time-ago college course.
I have a well defined problem space. I am calculating hourly staffing requirements for retail stores.
The raw values are based on a matrix of the full-time employees required for a given historical... |
I have the neuropsychiatric questionnaire scores of 300 individuals, of which 200 are normal, and 100 have the disease. The questionnaire is divided into 12 categories (delusion, agitation, ... etc). And each category begins with a question along the lines of: does the patient experience delusions? (yes=1, no=0, a bina... |
I recently played on a betting site (soccer games) and wondered how they change odds so quickly on sporting events. I get the basics of betting, but wonder how they change live betting odds so quickly?
Do they use variables as morale, ball possession, ... ?
And if thats the case how do they calculate it in real-time... |
Note that this is a simplified example:
I have some time series that I made stationary by differencing twice. Then I ran arima on it, and set d = 0 to prevent additional differencing (I'm aware that auto.arima could detect the order of integration, but I'm hard-coding this myself for other reasons). Now I want to use f... |
I have an input dataset x_train and an output dataset y_train
> head(x_train)
Symscore1 Symscore2 exercise3 exerciseduration3 groupchange
1 1 0 2 3 Transitional to Transitional
2 1 3 5 3 Transitional to Tr... |
I'm given two random sample datasets of sample size n=20, where the first dataset represents the weights of random boys, and second group represents weights of random girls. I need to find the significance level of saying that boys on average weight more than girls.
To solve this problem I'm assuming that the null hypo... |
I have a regression with ARMA errors, which I am fitting with arima(). I know that the ARMA model is being fit on these residuals from the regression. My problem is that when I use include.mean=TRUE the output does not return any estimate of the mean (of the residuals, which yes, I know is always zero). The documentati... |
Let's say I have a set of i.i.d. samples $X_1,\ldots,X_N \sim N_p(\mu, \Sigma)$. Now define
\begin{equation}
d^2_i(b)=(X_i - b)'\Sigma^{-1}(X_i-b)
\end{equation}
which is essentially the Mahalanobis distance, except that it measures the distance from $X_i$ to $b$ (with respect to the principal component axes), rather t... |
Looking for some advice on running simple statistics on some survey data I have.
Part 1. I have two surveys, one from 2009 and one from 2013, with the exact same question but different respondents. How might I compare this question between years to see if they are significantly different or not? The survey was cond... |
I have some prior knowledge of grouping, but this may be incorrect or is not sufficient as I need larger number of groups (i.e. subgroups). For example in the following data I have 3 groups in addition to two variables. I would like to use the group information (as prior knowledge) (here 3 groups) to create meaningful ... |
I took a poll of patients who experienced at least one misdiagnosis. I'd like to analyze the data according to gender but 75% of the responses came from Females and 25% from Males.
Example: The data for the misdiagnosis category "IBS" is 4 Males and 19 Females on 19+4=23 total responses.
For Males the proportion is 4/... |
If there are 2 nlme models with same non-linear mean function, model 1 and model 2, how do you compare them ? Which R function does this for us ?
And when there are random effects or fixed effects, I don't know how a nested model is defined ?
For example model 1,
`model1 <- nlme(df_measures ~ meanfunc(w, time, b0,b1... |
I am analyzing my data of my experiment and I have a question concerning the repeated measures ANOVA. I have 2 independent variables (temperature and salinity), 1 dependent which is length and 2 measuring points (3rd and 7th day) of the experiment.
So my question is, can I use repeated measures ANOVA when I only have ... |
I have been informed that I should have a p value listed in my EFA results section?
I am confused by this and wonder what am I missing?
|
I am new to this site, so my apologies if I am not asking the question the right way for this site. I am actually trying to understand Latent Class Analysis & Latent Transition Analysis. I have read a few articles. I found ProcLTA and ProcLCA in SAS, but in R I could only find poLCA package, and nothing for LTA. The we... |
I have a joint probability density function f(x,y) numerically in R. X is the probability males get a disease; Y the probability females get the disease. I want to extract from this bivariate data the univariate density for the odds ratio. That is I have a some function T(X,Y) and need the density function of T. In thi... |
Suppose $\boldsymbol \beta \in \mathbb{R}^k$ is a vector of coefficients for a generalized linear model with $g \left[ E(Y|X) \right] = X\beta$ for a link function $g$ and I wish to test the composite hypothesis
$H_0: \beta_k =0$ versus $H_1: \beta_k \neq 0$
where the other parameters $\beta_{-k}$ are nuisance paramete... |
I've got back reviews for a paper I've submitted, with the following problem.
I have two logistic regression models, say y ~ A, and y ~ A + B, where B is a factor with several levels. I have performed a likelihood ratio test between them, and it is highly significant. My goal is to show that B has some independent info... |
I am in the process of working through the Udacity course Intro to Inferential Statistics. In Lesson 9: Hypothesis Testing, the following example is given.
Say that we record survey data from all students of this Udacity course detailing how engaged they are by the lecture materials. We find that the population mean en... |
I'm currently working on a logistic regression problem with case-control response variable and SNP genotype as regressor. Can I treat 0, 1, 2 as continuous instead of factor?
|
I have 3000 predictors (biological measurements) and 200 samples (weight), and would like to build a linear multiple regression model. How do I select which predictors to include in the regression model?
Someone suggested using R package 'rpart'.
Please help.
|
During my masters studies, I heard about the following estimate of the mean: We take the minimal and the maximal value from sample and simply average them out.
Does this estimate have any name? And when is it useful? I have never seen it in practice.
|
Model is essentially a seemingly unrelated regression estimation of the two following equations:
$lnIMR_i=\alpha_i^{IMR}+I_i\beta_i^{IMR}+C_i\theta_i^{IMR}+A_i\lambda_i^{IMR}+M_i\delta_i^{IMR}+Q_i\pi^{IMR}+u_i^{IMR}$
$lnU5MR_i=\alpha_i^{U5MR}+I_i\beta_i^{U5MR}+C_i\theta_i^{U5MR}+A_i\lambda_i^{U5MR}+M_i\delta_i^{U5MR}+... |
In my questionnaire, I had a "no-opinion" option for several items on a 5-point-likert scale. I know, there is a lot of discussion about sense and non sense of those, but the fact is, i've got a data set with a lot of these values.
So the big question: How to analyse them!? Obviously it's important to display them in t... |
Players of a certain TRPG have characters with 6 ability scores, each ability score ranging from 3-18. One method of generating those is by rolling 4d6 drop lowest. That means four six-faced-dice are rolled, and the three highest results are added.
What's the probability that, given 5 players, one player will have a h... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.