instruction stringlengths 9 38.7k |
|---|
I'm trying out the boot() function for internal validation of a logistic glm model using the AUC (aka c-statistic) as my performance measure. My problem is that depending on the dataset I use, sometimes the function gets "50 or more warnings," all of which are of this type:
Warning messages:
1: In wilcox.test.default(p... |
Just when I thought I'd had a grip on how to do an analysis of variance this particular data set had me startled: it's a collection of response times (in ms) to a linguistic input. To be precise, it's part of a reading time experiment, and I'm trying to see if there's a significant effect of two factors.
My experiment ... |
If someone makes a statement like below:
"Overall, nonsmokers exposed to environmental smoke had a relative
risk of coronary heart disease of 1.25 (95 percent confidence
interval, 1.17 to 1.32) as compared with nonsmokers not exposed to
smoke."
What is the relative risk for the population as a whole? How many things a... |
I would like to present a meta-analysis on a homepage. This should include a forest plot to visualize the effect sizes from individual studies as well as the summary statistics. I was wondering whether this plot is 'legal' as I am taking results (effects sizes) from published papers and present them 'for free' as part ... |
My study design involves a control and 2 test groups plus some covariates. Each group consists of around 20 observations. In total I look at around 1,000 variables.
I created a linear model using the lm() function in R including 2 covariates. After that I thought I would include another covariate because doing a PCA pl... |
My questionnaire includes 48 questions (observed variables) that represent 8 different factors (latent variables). All the variables are continuous. I need to compute the latent variables before doing the correlation & regression analyses but the problem is that SPSS doesn't directly create latent variables like SEM so... |
I have drawn a skewed distribution, using these commands:
x <- seq(-2.5, 10, length=1000000)
hx5 <- rnorm(x,0,1) + rexp(x,1/5) # tau=5 (rate = 1/tau)
plot(density(hx5), xlim=c(-2.5,10), type="l", col="green",
xlab="x", main="ExGaussian curve",lwd=2)
Now I want to draw three lines, for the mean, the mode and the ... |
Possible Duplicate:
Linear model overfitting due to too many covariates
My study design involves a control and 2 test groups plus some covariates.
Each group consists of around 20 observations. In total I look at around a 1000 variables.
I created a linear model using the lm function in R including 2 covariates. Af... |
How should I interpret the following interaction term of 2 continuous predictors in the output of a Cox proportional hazards model?
The Hazard ratio for the interaction of X and Y is >1, which means its log (the original coefficient) is 0-1 (~0.16). The individual items have a HR less than one, and coefficients of X= ... |
Ok, I have a classification problem in which i need to classify instances into one of 5 classes.
The class distribution of the classes is imbalanced however. These are the frequencies of instances for each class:
class 1: 129
class 2: 2
class 3: 187
class 4: 18
class 5: 285
So this is a multi-class classification ... |
I need to compare results from data with different residual DF as my $x$ variable has different levels. The following is just an example (in R, for demonstration purpose, but this is not a R question):
# first case
set.seed (123)
data1 <- data.frame (y = rnorm (100, 5, 2),
x = sample (c("A", "B"), 100, replace = T))... |
Which distributions have closed-form solutions for the maximum likelihood estimates of the parameters from a sample of independent observations?
|
I have a couple of quick questions about PCA:
Does the PCA assume that the dataset is Gaussian?
What happens when I apply a PCA to inherently non-linear data?
Given a dataset, the process is to first mean-normalize, set the variance to 1, take an SVD, reduce rank, and finally map the dataset into the new reduced-r... |
Suppose I have some data points (0.6695, 0.5968, 0.7641, 0.7252, and 0.7779) and want to fit different distributions to this dataset, say, log-normal and log-t (with different df), and then compare the tails of these distributions using graphics. How this can be done in R?
|
Suppose that we have a list of relevant numbers (e.g. maximum revenues for various years). If the leading digits are $1$ for all the years, can we say that trivially the maximum revenues satisfy Benford's Law?
|
Is there sources where I can see performance of different ML models applied to same data?
Currently I want to understand performance percision/recall difference between mahout online logistic regression vs Mallet MaxEnt, LibLINIEAR.
|
For an agent-based simulation, I need to model the change in the income of an individual over time.
I just got an answer about Probability distribution of income , so I can determine the income of individuals at t=0, but how would their income change over time?
Is this is a Markov series, and if so, what would be reas... |
Are there any methods that one could utilize to make Random Forest more interpretable? Random Forest performs much better than CART but it is a lot less interpretable.
|
Is there an example available of how I can sample from the prior predictive distribution (without data) in jags? I would like to get a better sense for the contribution of the prior in a multilevel model using jags.
I could probably set up a simulation manually using R, but since I already have the distributional relat... |
I'm just trying to replicate a claim made in the following paper, Finding Correlated Biclusters from Gene Expression Data, which is:
Proposition 4. If $X_{IJ}=R_{I}C^{T}_{J}$. then we have:
i. If $R_{I}$ is a perfect bicluster with additive model, then $X_{IJ}$ is a
perfect bicluster with correlation on columns;
... |
I want to compare measurements in two halves of a behavioral experiment to examine for learning effects. My first course of action is to split the measurements in the two halves and then repeat the original MANOVA for this comparison.
I am asking to find out if there are standard procedures to conduct such a comparison... |
The zero inflated Poisson regression model is defined for a sample $(y_1,\ldots,y_n)$ by
$$
Y_i = \begin{cases} 0 & \text{with probability} \ p_i+(1-p_i)e^{-\lambda_i}\\
k & \text{with probability} \ (1-p_i)e^{-\lambda_i} \lambda_{i}^{k}/k!
\end{cases}$$
and it further assumes that the parameters $\mathbf{\lambda} = (\... |
I have some confusion regarding some derivations of the equations for kriging in the wiki article. $\newcommand{\Var}{\rm Var}$
It says that kriging error is given by:
\begin{align}
\Sigma_k^2(x_0) &= \Var\big(\hat{Z}(x_0)-Z(x_0)\big) \tag{1} \\
&= E\left(\left(Z(x_0) - \hat{Z}(x_0)\right)^2\right)... |
I've designed a 4 classifiers which perform pretty decently (all of them are above 90% in accuracy).
However, they don't have similar AUC for their respective ROC curves (obviously, it doesn't have to be).
If I were to use these classifiers in real-time data, which one do I choose based on the following result
Classifi... |
Trying to "understand" a time series' patterns it is intuitively tempting to use STL decomposition as the concept of distinguishing between trend, season and the rest makes sense.
But my experience tells me that no static algorithm will lead under all circumstances to useful results.
So my general question/s is/are wh... |
I ran a mixed model regression and obtained the following output. Because I log-transformed the concentration variable, I interpreted the coefficient as follows: the mean concentration is reduced $1.5$ percent each year. The years run from 1993-2010.
Can say also state that the mean concentration is reduced by $26\... |
I have a training set with 4 different 3D position vectors as some of the features. I have defined a new 3D coordinate system based on the first 3 of these position vectors to achieve translational and rotational invariance. Then transformed the original points to this new system. Since the last point also originally r... |
After R reads the data, say-
v1 <- c(1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,4,5,6)
v2 <- c(1,2,1,1,1,1,2,1,2,1,3,4,3,3,3,4,6,5)
v3 <- c(3,3,3,3,3,1,1,1,1,1,1,1,1,1,1,5,4,6)
v4 <- c(3,3,4,3,3,1,1,2,1,1,1,1,2,1,1,5,6,4)
v5 <- c(1,1,1,1,1,3,3,3,3,3,1,1,1,1,1,6,4,5)
v6 <- c(1,1,1,2,1,3,3,3,4,3,1,1,1,2,1,6,5,4)
m1 <- cbind(v1,v2,v3,... |
Say I have a set of classifier models, each generated using feature selection inside a repeated k-fold cross-validation. Each classifier model is generated using a different set of regularization parameters or hyperparameters.
I understand that choosing the 'best' model of this set, i.e. one that yields best k-fold cr... |
I am trying to come up with estimates on the outcomes from a layered-earth inversion calculation whereby the calculation provides a posterior covariance matrix for the best-fitting model parameters given the data. In particular, I want to see how long a particular feature of the model persists from the surface (ie, I ... |
I have a series of daily log returns and I am looking to fit them to an AR() process.
Any suggestions?
|
I know that this question is hard to answer, but I was wondering how you would determine if a statistical technique was in current use, or if it had a heyday a couple of decades ago but it's either been superseded by newer techniques or perhaps it was even proven to be inadequate and abandoned?
For example, I was looki... |
I am building a Cox PH model for recurrence-free survival from breast cancer. One of my variables, the number of involved lymph nodes, is highly skewed with many more "0" values than positive integers. It seems to me that this would make any transformation ineffective because this variable cannot be negative. Here i... |
I’m trying to generate correlated random sequence with mean = $0$, variance = $1$, correlation coefficient = $0.8$. In the code below, I use s1 & s2 as the standard deviations, and m1 & m2 as the means.
p = 0.8
u = randn(1, n)
v = randn(1, n)
x = s1 * u + m1
y = s2 * (p * u + sqrt(1 - p^2) * v) + m2
This gives me th... |
The PCA algorithm can be formulated in terms of the correlation matrix (assume the data $X$ has already been normalized and we are only considering projection onto the first PC). The objective function can be written as:
$$ \max_w (Xw)^T(Xw)\; \: \text{s.t.} \: \:w^Tw = 1. $$
This is fine, and we use Lagrangian multipl... |
I have done the following measurements:
Independent Variables IV1 and IV2 with a ordinal scale
Dependent Variable 'DV' with an ordinal scale
Tested 8 different values for IV1 and 6 different values for IV2 in a full factorial design with 5 repetition each and recorded the dependent variable. So in total 240 measuremen... |
Let's assume we have four time series a, b, c and d with 10 measurments.
a(1), ..., a(10)
b(1), ..., b(10)
c(1), ..., c(10)
d(1), ..., d(10)
a, b and c are assumed to show the same trend and periodicity.
The question is how can I compare d to a combination of a, b and c in order to test whether d is differing from th... |
I have an ordinal variable, overall_tumor_grade, that can take on values of 1, 2, 3, or X if the measurement is indeterminable. There are some NAs that I want to impute using the mice package in R, but I know that the missing values cannot be X because their tumor sizes are greater than 0. I want to impute overall_tumo... |
Let's say $X$ has a log-normal distribution and there is one real positive number $c$. then is it right to say that $(X -c)$ also has some log-normal distribution? My feeling is that, it can't be, because $(X - c)$ may take negative value whereas a log-normal distribution is only defined on the positive domain. Can som... |
Suppose you have one variable, $x$, with 8 data points, with a sample mean of 60%, and a sample standard deviation of 7%, and let’s also assume you know the sample comes from a lognormal distribution (or from a distribution with a heavier tail than lognormal).
A sample with mean = 60%, SD = 7%, could be produced by an ... |
Let $\textbf{X}$ be an $n \times p$ matrix with the rows containing observations and the columns containing features. Also assume that the features are centered at $0$. Let $C_k\subset \{1, \dots n \}$ contain the indices of the observations that belong to class $k$. Why is an estimate of the within-class covariance m... |
I am doing a one way ANOVA (per species) with custom contrasts.
[,1] [,2] [,3] [,4]
0.5 -1 0 0 0
5 1 -1 0 0
12.5 0 1 -1 0
25 0 0 1 -1
50 0 0 0 1
where I compare intensity 0.5 against 5, 5 against 12.5 and so on. These is the data I'm working on
with... |
Suppose we are given various reports on projected sales of Product $X$ for $5$ years starting in $2013$. All of the reports just give the results and not the methodology as to how they arrived at the predictions. Suppose we are interested in the projected sales of Product $X$ for $10$ years. So we already have the proj... |
I have been seeing a lot of papers on sparse representations lately, and most of them use the $\ell_p$ norm and do some minimization. My question is, what is the $\ell_p$ norm, and the $\ell_{p, q}$ mixed norm? And how are they relevant to regularization?
Thanks
|
I'm having trouble understanding identifiability. Specifically, I'm not sure, in the following example, why $P\left(C\right)$ cannot be identified. Here's the example:
You have 2 unfair coins with the following probabilities:
$$P\left(H|C_1\right)=1/4$$
$$P\left(H|C_2\right)=3/4$$
Each coin has an equal probability of ... |
I want to use a distribution to predict the p-value (whether it's just noise) of each element in this dataset.
But I don't know what distribution should I use. Could anyone give me some tips about it?
|
I'm using rb-libsvm and the RBF kernel to make classifications. svm.predict(measurements) returns either -1.0 or 1.0. Is there a way to get a confidence for this classification? I am interested in throwing out low-confidence classifications and tweaking precision/recall.
|
I got the following result of a ANOVA analysis of five independent variables with 5,8,2,2,6 levels and 5 replications for each combination:
Df Sum Sq Mean Sq F value Pr(>F)
IV1 4 129805 32451 243.35 <2e-16 ***
IV2 7 67227 9604 72.02 <2e-16 ***
IV3 ... |
We have a variable, $X$, measured at pre-study and post-study and are studying the effects of $X$ across changes of several outcome variables (post-pre).
Currently we are using regression models to investigate the change in $X$ (post-pre) effect while including pre-study $X$ to control for the initial level of $X$.
We ... |
Let's say I am trying to estimate $E(y | x_1, x_2,...)$. The dataset has two subcategories, say URBAN and RURAL. The descriptive stats of the two subsets are very different, as are the coefficients from regressions run separately. For example, I can see that $E(y|x_1)$, $E(y|x_2)$ etc. are all positive for URBAN and al... |
I have a dataframe with 8 columns (variables, X1 to X8) . Each column represents a different model parameter. Each row of the dataframe represents a modelling scenario.
All the modelling scenarios result in some desired output (i.e. Y1). In other words, different model parameters can result in Y1.
I was wondering - are... |
I have data from a human subject study that was setup as a 3x2 (system by task type) experiment, with 24 participants. Each participant completed 6 tasks in all, one using each of the 3 systems, and 2 task types. I have two performance measures: the first is completion time, and the second is a human assigned completio... |
Suppose $z\sim\mathcal{N}\left(\lambda^2 e_1,I_n\right)$ where $e_1$ is the first column of the $n$-dimensional identity matrix, denoted here as $I_n$. Suppose $S\sim\mathcal{W}\left(m,I_n\right)$ is a Wishart matrix on $m$ observations with parameter $I_n$. I am interested in the distribution of
$$
h = \frac{e_1^{\top... |
I am wondering if there are any good rules of thumb for how to go about selecting an approximate inference algorithm for a problem/model (specifically when exact inference is intractable)? When you are faced with a problem, what are the things you consider when selecting an approach for inference (e.g. MCMC, belief pro... |
Let's assume we have a forest.
And there is a breed of rabbits that is visiting that forest all the time.
It is possible to distinguish every individual rabbit.
There are devices in that forest that count the visits of every individual rabbit on a daily basis; so there are not two or more visits for a specific rabbit o... |
I have 9 vectors of numeric data. I want to make correlation plots for these 9 vectors. However some vectors are of a different length to others - some have up to 240 observations while others have only 159 observations. R can only make correlation plots for vectors of the same length. To make the vectors the same leng... |
I have two time series a and b, which I want to compare. Due to their range difference I normalize them first.
a(i), b(i) are natural numbers for i=1,...,N
two different normalizations:
( mean and std_dev both refer to the whole time series )
1) a'(i) := a(i) / mean( a )
goal: mean( a' ) = 1
2) a'(i) := [ a(i) - mean... |
I am studying the correlation of two observed variables (call them $A$ and $B$). the underlying distribution for $A$ is symmetric around $0$ (for sure), however in my sample I have $411$ observations where it is negative and $470$ where it is positive due to sample bias.
Is it a correct way to remove the bias to simply... |
Here is the summary-output of the Coxph-model I used (I used R and the output is based on the best final model i.e. all significant explanatory variables and their interactions are included):
coxph(formula = Y ~ LT + Food + Temp2 + LT:Food + LT:Temp2 +
Food:Temp2 + LT:Food:Temp2) # Y<-Surv(Time,Status==1)
n= 555
... |
I observe y as a function of x. y is a scalar, x is a vector of dimension n.
I have k observations of y and x.
Let $$X = \begin{bmatrix}x_{1,1} & \cdots & x_{1,n}\\\vdots & \vdots & \vdots \\ x_{k,1} & \cdots & x_{k,n}\end{bmatrix}$$
$$Y = \begin{bmatrix}y_1 & x_{1,1} & \cdots & x_{1,n}\\\vdots &\vdots & \vdots & \vdot... |
I want to know whether my data are trending, co-integrated, have unit roots, have autocorrelation, or have heteroskedasticity. I want to do all this using Stata, so please suggest material or direct me a book on these topics
|
I have been studying so many things on factor analysis with categorical variables. I am frustrated studying these many pdfs. I have 40 variables obtained from 40 questions. All of them are categorical. I can take them to be ordinal. The questions are different, so the answers are different too. It is not something like... |
I am having trouble generating a set of stationary colored time-series, given their covariance matrix (their power spectral densities (PSDs) and cross-power spectral densities (CSDs)).
I know that, given two time-series $y_{I}(t)$ and $y_{J}(t)$, I can estimate their power spectral densities (PSDs) and cross spectral ... |
As described in Merlo et al (J Epidem Comm Health 2006), the 95% credible interval for MOR is calculated using MCMC. MOR is defined as $\exp(\sqrt{2\sigma^2}\times 0.675)$, where $\sigma$ is the level-2 variance of the random intercept $u$ from a null model of a hierarchical logistic regression.
Does anyone have an i... |
What can go wrong if I include two categorical variables and intercept in linear regression?
With:
y~x1+x2
Both x1 and x2 are categorical variables, lets say x1 has 3 levels, x2 has 2 levels.
I encoded them as the following:
x1 corresponds to a design matrix of three columns, each column has 0-1 values indicating whet... |
Suppose we have weekly data for some attribute (e.g. housing prices). Say that we have $500$ weeks worth of housing price data. Suppose some major event happened on week $256$. If we want to detect any significant changes in housing prices after week $256$ versus before week $256$, would it be better to use a longer ti... |
When there are more treated than control, is it possible to do 1-to-1 matching (without replacement)?
It makes sense to do 1-to-1 when there are less treated than control but I am not sure if one can do that if there are more treated. It looks like a good way to introduce bias and doesn't make sense to selectively thro... |
I'm implementing Ridge Regression in a Python/C module, and I've come across this "little" problem. The idea is that I want to sample the effective degrees of freedom more or less equally spaced (like the plot on page 65 on the "Elements of Statistical Learning"), i.e., sample:
$$\mathrm{df}(\lambda)=\sum_{i=1}^{p}\fra... |
Warehouse buys products from producer irregularly in bulk quantities. If the warehouse buys a lot of product units at one time the warehouse stops buying for several weeks (let's say week is a time unit). The more they buy (i.e. because of the price promotion), the farther they postpone future buying. I have time serie... |
I'm trying to report an effect size for a Linear Mixed-Model we've fitted in R. Right now I'm looking at reporting partial eta squared or eta squared. However, to do so I need to calculate the Sums of Squared Error. We're using the lme() function, which does not report MSE or effect sizes. I am not the one doing the pr... |
What is the standard notation for specifying nested factors, for example, if I am estimating a parameter $\large{\beta{{_\text{site}}_i}}$ for the effect of $i=1\ldots m$ sites, and $\large{\beta{{_\text{tr}}_j}}$ for $j=1\ldots n$ treatments, assuming that there are no treatments that occur at each site (except the co... |
I was tutoring a Stat student taking a probability course and I came across a problem dealing with variance of exponential that has left me confused.
$X \sim \mathrm{Exp}(\mathrm{rate}=\lambda)$ so $E(X)=1/\lambda$ and $\newcommand{\Var}{\mathrm{Var}}\Var(X)=1/\lambda^2$
Customers enter a store at a rate of 2 per hour,... |
What issues, if any, might there be in rotating factors in order to obtain factor/component loadings of binary data? Is it acceptable to rotate the factors when doing a traditional PCA? (Assuming I’m using a polychoric correlation matrix.)
I am not a statistician, but an applied educational researcher making sure my ap... |
I am looking to understand the assumptions of using a generalized additive model.
Are the assumptions the same as the assumptions for each equivalent link function in a generalized linear model - e.g. as linear regression, logistic regression etc.
along with the assumption that the additive smooth structure is correct... |
I'm doing a two sample z-test for the difference between means using pooled variance.
Suppose I've run two experiments. In the first experiment, the sample size for the two populations is only 100, and I get a z-value of 5.0. In the second experiment, the sample size for the two populations is one million, and I also... |
Suppose are three time series, $X_1$, $X_2$ and $Y$
Running ordinary linear regression on $Y$ ~ $X_1$ ($Y = b X_1 + b_0 + \epsilon$ ), we get $R^2 = U$. The ordinary linear regression $Y$ ~ $X_2$ get $R^2 = V$. Assume $U < V$
What's the minimum and maximum possible values of $R^2$ on regression $Y$ ~ $X_1 + X_2$ ($Y = ... |
In many natural language processing applications such as spelling correction, machine translation and speech recognition, we use language models. Language models are created usually by counting how often sequences of words (n-grams) occur in a large corpus and normalizing the counts to create a probability. To account ... |
I conduct a small meta-analysis of the preferences ratings for objects in two different conditions. I compute Fisher's z and SE for each study.
1) There are studies with totally different number of trials. For example, there is a study with 24 subjects and 2 trials per subject and a study with the same 24 subjects and ... |
Suppose we have a set of points $\mathbf{y} = \{y_1, y_2, \ldots, y_N \}$.
Each point $y_i$ is generated using distribution
$$
p(y_i| x) = \frac12 \mathcal{N}(x, 1) + \frac12 \mathcal{N}(0, 10).
$$
To obtain posterior for $x$ we write
$$
p(x| \mathbf{y}) \propto p(\mathbf{y}| x) p(x) = p(x) \prod_{i = 1}^N p(y_i | x).... |
There are two definitions of the GAMMA distribution:
I did the ML estimation, generated the Fisher Information, compared it to the Variance and the Cramer Lower Bound was reached, so the estimator is efficient. But now I tried it with this alternative:
$$g(x;\alpha,\beta) = x^{\alpha-1}\frac{\beta^{\alpha}e^{-\beta x... |
I have made a generalised linear model with a single response variable (continuous/normally distributed) and 4 explanatory variables (3 of which are factors and the fourth is an integer). I have used a Gaussian error distribution with an identity link function. I am currently checking that the model satisfies the assum... |
I have been told to run a factor analysis using the stepwisefit function in MATLAB.
Basically, this function helps you fit a model composed of $T$ factors $F=(f_1, ... , f_T)$ each of which have $N$ values with a target vector $y$ with the same length.
I know for a fact that my factors are correlated, and I was wonderi... |
More an aesthetics question to do with presentation of statistical data, say you have 2 sets of data,
speed weight
a 2.2 500
b 4.7 222
c 7.3 999
d 3.1 1000
So if you plot the speeds and weights on the same bar chart, you will get squishy tiny bars for all the speed valu... |
According to Wikipedia :
$\mathrm{Beta}(\alpha,\beta) = \mathrm{Gamma}(\alpha,\theta) / (\mathrm{Gamma}(\alpha,\theta) + \mathrm{Gamma}(\beta,\theta))$
However, when I try to simulate this in R :
> m <- 2^11
> a <- rgamma(m,1,1) / (rgamma(m,1,1) + rgamma(m,1,1))
> quantile(a,1:9/10)
0.05576023 0.12110211 0.198863... |
Background: Israel (and the middle east in general) is filled with protests.
I am curious, when given a picture, to estimate how many people are in that picture (often a picture of a large crowd).
What modelling can offer some solution to this problem? (and, of course, can it be done with any open source package. Say... |
I understand that for simple linear regression, the sample correlation coefficient is the square root of the $R^2$. But that's just for a simple (i.e., single variable) regression $Y=\beta_0+\beta_1X+\varepsilon$.
How about multiple regression, e.g., $Y=\beta_0+\beta_1X_1 + \beta_2X_2+\varepsilon$? Is there any relati... |
Is there any function in R that fit all statistical distributions, and choose best fit based on log-likelihood and Kolmogorov-Smirnov D (KSD) statistic?
Like a software named, EasyFit
|
What is the difference between Superpopulation and Infinite population? Please explain this with examples.
|
I am interested in comparing the amount of variability within 8 different samples (each from a different population). I am aware that this can be done by several methods with ratio data: F-test equality of variance, Levene test, etc.
However, my data is circular/directional (i.e. data that exhibit periodicity such as w... |
Given a matrix whose entries consist of only 1's and 0's, I would like to come up with a measure of how "ordered" the matrix is, in some sense. This exact question was posed here:
Measuring entropy/ information/ patterns of a 2d binary matrix
in which the top-rated answer posted by whuber provided what I'm looking for... |
Throw $x$ dice, each of which has $z$ sides, keep the $y$ highest values rolled, and find their sum $s$. In roleplaying games, this is called a "roll and keep dice mechanic" and notated "$x$d$z$k$y$" or perhaps just "$x$k$y$" if the number of sides $z$ is understood. Let (capital) $S$ be the random variable for the sum... |
Popular topic models like LDA usually cluster words that tend to co-occur together into the same topic (cluster).
What is the main difference between such topic models, and other simple co-occurrence based clustering approaches like PMI ? (PMI stands for Pointwise Mutual Information, and it is used to identify the wor... |
I have a dataset which I think would suit GEE. I am trying to assess the relative contribution of a number of simultaneous predictors and their interactions to the intensity of hurt feelings. I asked people to report on one hurtful event in each of 3 relationships, as well as fill out a number of scales. I then coded t... |
I have an annual time series of data of a growth-rate variable $X$ for 50 years. Most of the values for the variable $X$ are less than 10%. The exception are two values that are around 30%.
How do I treat these two values in the regression?
I would like to seek your suggestions in this regard.
|
I have a linear regression model that is used to forecast the 'afluent natural energy' (ANE) of some region.
The predictors for this model are:
the previous month ANE (ANE0)
the previous month rain volume (PREC0)
the current month forecast for rain volume (PREC1)
We have 7 years of historical data for all of these va... |
I have made a generalised linear model with a single response variable (continuous/normally distributed) and 4 explanatory variables (3 of which are factors and the fourth is an integer). I have used a Gaussian error distribution with an identity link function.
Do I need to check for multicollinearity and interactions... |
I Have a data set containing about 40 categorical variables. I am trying to factor analyze them. But each categorical variable contains a good number of missing values. Some of them are simply because of non-response. The respondent did not filled up any answer option for that question. Some of them are due to question... |
I'm struggling to understand the difference between the standard error and the standard deviation. How are they different and why do you need to measure the standard error?
|
I have 48 items in my questionnaire that represent 8 constructs. After conducting an exploratory factor analysis (EFA) with a principal components extraction method and Varimax rotation method, 8 sets of factor scores (FAC_1 to 8) were computed and saved using the regression method.
I've read in academic papers that... |
I have the following problem:
Given inputs $x$ ($n$-dimensional vector) of scalars, ordered integers and
unordered integers (i.e., labels) and one or several outputs $y$, I would
like to estimate:
Which inputs explain the best the outputs.
To what extent variations of one input imply variations of the outputs.
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.