instruction stringlengths 9 38.7k |
|---|
I want to determine the significance of a particular variable, among many confounders. If I fit a model on the training set and observe a small p value, should I discard the model because it extrapolates poorly on the test set (negative $R^2$ value), or should I keep it since I wasn't interested in predictions anyway?
|
I am using a generalized formula for normalizing one data range to another but am having difficulty finding its formal name, if it even exists (sorry if my notation is strange):
$$
x_b = min_b + \frac{(x_a - min_a)(max_b-min_b)}{max_a - min_a}
$$
This converts an $x$ in range $a$ to its respective value in range $b$.
F... |
I would like to find if there is a significant difference between two ROC-curves. I've found the roc.test in the pROC package. However, I cannot seem to find any information on how this test is actually performed. Can anyone explain it to me or refer to a webpage that has information on this?
From the documentation for... |
I've read about two ways to test the significance of just one predictor when fitting a linear model with least squares.
Suppose I fit the following linear model using least squares using standard assumptions.
$$y = X \beta + \varepsilon \tag{1}$$
where $\beta = (\beta_1, \cdots, \beta_i, \cdots, \beta_p)^T$.
The first... |
I have a learning to rank system where implicit feedback (from user clicks) is used to determine +ve and -ve examples for the training. The problem is that (obviously) the learner sees only the top few ranked results (+ve or more relevant examples will appear at the beginning). This introduces some kind of a bias in th... |
I am using glmnet in R with leave-one-out cross-validation with this command:
cv.fit <- cv.glmnet(trainx, trainy, maxit=10000000, nfolds=NROW(trainy), grouped=FALSE, lambda.min.ratio=20.0^(-3.0), type.measure="mse")
It produces the information that I want but it also provides a y-intercept. According to the documentat... |
I'm imputing missing values using R's mice package. My data has three numeric variables and a class variable so I am using a multilevel imputation with the 2l.norm method on the variables. However, like in these two questions, I'm getting an error that the leading minor of order 1 is not positively definite. If I under... |
Suppose I have two distributions $X$ and $Y$, and I have a statistic $T(X, Y)$. If I have a random sample (iid) $X_1, ..., X_N$ taken from $X$ and a random sample (iid) $Y_1, ..., Y_M$ taken from $Y$, then are the statistics of the cross products (i.e., $\{T(X_i, Y_j) : i \in 1, ..., N, j \in 1, ..., M\}$ a random samp... |
I am not really strong with time series but I have a project I am working on..
I have a problem where I am trying to model a time series of the difference in pressure before and after oil has passed through an oil filter. I am trying to see if this oil filter can go longer without being changed. I also have data on t... |
What are reasons or references for a statement such as "When you have a lot of data the statistical problem you run into is that even a tiny difference will be statistically significant." I see this quite often and I need references as to why this is true. Any help is appreciated.
|
I am very new to stats, and if the chi squared test is not the best way to handle this, please let me know.
To simplify what I'm trying to do, I have many separate lists of genes. Each list is a different size in terms of number of entries (one gene being one entry). For each list, I have counted the number of times ea... |
I ran two single variable linear regressions $A$ and $B$. $A$ had a relatively large effect size $R^2$ = $.68$ while $B$ had $R^2$ = $.10$. Regressing the explanatory variable from $A$ (= $a$) on the explanatory variable from $B$ (=$b$) shows an $R^2$ = $.44$. The correlation between these two variables is $.66$. I... |
I have a dataset which shows the states (3 states) across 11 time points for each participant. I wanted to estimate the Markov Chain state transition probability matrices for time points 2-11 using R. I read both markovchain and HiddenMarkov package documentations, but did not see any examples similar to what I planned... |
I have a vector of values and a vector of the reciprocal of their standard error. I'd like to estimate their mean and the standard error on the mean.
At first I used linear regression using the lm() function. Later I found out that the weights library provided a wtd.t.test() function for doing t-tests on weighted data.... |
Let's say we have the following matrix (typical VSM example):
word1 word2 word3 word4
doc1 0.838 0.918 0.001 0.482
doc2 0.311 0.948 0.001 0.183
doc3 0.001 0.928 0.592 0.381
I want to initially get rid of some words with a low tf-idf weighting, but I am not sure ... |
As part of my PhD work, I've conducted an inoculation experiment concerned with marine phytoplankton community productivity (dependent variable, as 'no. of cells') vs nutrient availability. I have two factors:
Nutrient Treatment (4 levels - including control)
Time (sampled at 5 points)
The puzzling aspect to this des... |
I have easy access to the the mean, standard deviation and min/max values for a variable. I also have the number of elements used to compute those values. The data is real numbers with an absolute zero.
Given this information, is it possible to estimate the median value?
|
In section 7.10.2 of Elements of Statistical Learning, it says that the true (test) error rate of any classifier is 50%. I'm having trouble understanding the intuition behind this. If you have a binary class (1 or 0) and your classifier is a die where if you roll a 1-5, the classification is 1 and if you roll a 6, the ... |
Is anyone aware of code for a wild bootstrap F-test? Namely, testing joint significance of several coefficients where the standard errors of each coefficient are computed using a wild bootstrap.
The following paper exposits the theory, but I wanted to see if anyone has implemented this in practice?
Baltagi, B., Kao, C... |
I just had an (intellectual) panic attack.
A continuous random variable that follows a uniform in a closed interval $U(a,b)$: a comfortably familiar statistical concept.
A continuous uniform r.v. having support over the extended reals (half or whole): not an r.v. proper, but a basic Bayesian concept for an imprope... |
Here is my situation. I am trying to predict the 'entire' distribution of the dependent variable, not just the mean( or conditional mean). Does it then make sense to seprateley predict quantiles of this variable to learn about the new predicted CDF? I intend to use this CDF as one input (say sample from it) in a model ... |
In the famous 1938 paper ("The large-sample distribution of the likelihood ratio for testing composite hypotheses", Annals of Mathematical Statistics, 9:60-62), Samuel Wilks derived the asymptotic distribution of $2 \times LLR$ (log likelihood ratio) for nested hypotheses, under the assumption that the larger hypothesi... |
I've thought quite a lot on large sample size inference where the strong law of large numbers is easily validated. In my case however, I'm trying to infer the sign and magnitude of an outcome where the noise-to-signal is quite large in comparison to my available sample size.
How do I properly test for goodness of fit? ... |
I have a bunch of documents where some of the documents are a copy of other documents with their text jumbled up and some of the words replaced by their synonyms. Mentioned below is one such example of a sentence:
Article 1 (original) : I caught up with John Snow in town making purchases at Kingslanding Hardware store... |
I would like to simulate interval-censored data in a Cox model. In the R package intcox I found the following code:
sim.weibull.intcox.rfc <-function(N=200, beta.0=0.1, beta.cov=c(0.5,-0.5,0.5,0.5),
alpha=0.75, p.cov=c(0.5,0.75), grid=10)
{
x.design <- cbind(rbinom(N,1,p.cov[1]), rbi... |
I am looking to measure agreement between participants in choosing which member of a group is most like certain attributes. I want to calculate the expected agreement if they were to choose by chance.
e.g. assume we have 3 participants (P1, P2, P3) and they can choose from a list of 3 people (A,B,C) to associate with a... |
I am trying to understand some hypothesis testing results I am getting from a logistic regression analysis. Say I have 2 estimates of the log-odds of an event happening (the betas from my GLM). On the logit scale these these are
log.odd.trt1 <- -0.803410
log.odd.trt2 <- 0.772911
On the probability scale these are
p... |
I have fit a logistic regression model with original y and standardized x variables. Slope coefficients can be easily converted back to their original scale by $\beta^*_j/\sigma_{x_j}$ where $\beta^*_j$ is the output from the fitted model. However, I am not sure how to get the original intercept estimate from the outpu... |
I having binary data set (yes/no), so can I apply PCA on that. Is it mathematically correct to do that. In my opinion Binary variable can only be subjected to logical operations, so how it can be legal to apply PCA on the binary varaibles .
Previously Question similar questions have been asked Doing principal component... |
If you assume that you have a plentiful/unlimited supply of training data, and you are using a neural network for classification, how do you deal with a situation in which a very high proportion of the data belongs to one class?
For example, if you are doing binary classification and 99% of data comes from one class ... |
CrossPost: https://stackoverflow.com/questions/24301743/which-machine-learning-algorithm-is-the-slowest-but-surest?noredirect=1#comment37556042_24301743
Perhaps my perception of time is augmented by the faster machine speeds these days, but I was wondering if there was a form of machine learning that takes longer but w... |
I need to predict the number of retweeets a tweet receives as a function of (1) whether there is a hyperlink within the tweet's text and (2) the position of the hyperlink within the tweet. If a tweet doesn't contain a hyperlink then the position of the hyperlink within the tweet is a null value. Example data for this s... |
I'm making a chi square test on data that has information about students. I want to find out whether there is a relationship between how well the students did on a particular test and the level of dropout from education. I have a 2×2 matrix with the variables Level in test which takes the values level 1 and level 2, an... |
Suppose I have a dataframe consisting of six time series. In this dataframe, some observations are missing, meaning at some timepoints all time series contain a NA-value. In R, one possible imputation package that can be used to impute time series data is Amelia. However, this package does not work for observations tha... |
This is the constructivist sequel of this question.
If we can't have a discrete uniform random variable having as support all the rationals in the interval $[0,1]$, then the next best thing is:
Construct a random variable $Q$ that has this support, $Q\in \mathbb{Q}\cap[0,1]$, and that it follows some distribution... |
In this wikipedia section, the first block equation claims that
$P(n_b \leq n^* | s+b)=P(n\leq n^* | b)$
Some context (also found in that linked section): $n_b$ follows $Pois(b)$ and $n_s$ independently follows $Pois(s)$, $b$ is known and $s$ is to be estimated, and only $n=n_b + n_s$ can be measured.
Wikipedia claims ... |
I have recently advised some colleagues on the malpractice of binning a continuous variable, which was used in order to put it as a covariate in a regression model and retained as a significant predictor. They responded that when summed responses to several Likert item are not normal (in this case extremely skewed) it ... |
Background:
It's common in many aspects of science to want to determine if the trends shown in spatial data are significant. In my field of familiarity, climate science, authors often show the trends in temperature data, for example, and overlay stippling to show trend significance at 5%. For example see Rotstayn et ... |
I have an 5297X26 imbalanced dataset, the class1 has 588 samples and class2 has 4709 samples. I used the following code to perform random forest:
rfp<-randomForest(label~.,data=data,importance=TRUE,proximity=TRUE,replace=TRUE,sampsize=c(588,588))
Thus I could solve the imbalanced problem by selecting 588 samples f... |
I recently constructed a questionnaire to carry out a market survey on soap brands used. One of the questions which was asked was to rate few statements which influence the respondent to buy a certain brand. For each of the statements(Eg: price, advertisements etc) I gave four options strongly agree, agree, disagree, s... |
I have an ordered response variable (stated preference from strong dislike to strong like) that is virtually uniformly distributed. I am using package ordinal in R to estimate the probability of an observation matrix X to fit into a specific ordered category Y. Christensen (2013, p18), in his explanation of the probit ... |
Suppose I have a random variable $X$ ~ $Unif(0,\theta)$ where I want to estimate $\theta$. I draw a sample $X_1,...,X_n$.One way is to get a point estimate using e.g. maximum likelihood estimation via the sufficient statistic $X_{(n)}$.
However, suppose I want a 95% confidence interval of sorts on the value of $\theta... |
I'm trying to learn more about noise, power spectral density (PSD) and statistical variances. With regard this I'm trying to compute the power spectral density of white noise. However, when I do I get a very odd symmetry. My spectrum seems to be symmetric around the central frequency value, which is obviously incorrect... |
I'm working on 2D time series data where two attributes are depth and temperature. When I plotted depth-vs-temp curve and saw its variation over time, the fluctuation occurs at few places only.
I'm not saying temperature is dependent on depth. But given these data, what should I look into to establish relationships bet... |
Having studied parametric Bayesian statistics during the two last years, I plan to begin to self-study non parametric Bayesian model during this summer and look for recommendations. I would like the book(s) to cover both the theoritical aspects and the practical ones (with implementation, examples of models ...) Thanks... |
I just had a question as to how to identify the degree of correlation of the random effects in a mixed effects model using R's lme4 package.
I'm investigating a mixed model using lme4, which has the instructions to specify an option in the model specification as to whether the random effects of the model are correlat... |
I have a DB with multiple missing values (scale, ordinal and nominal). I used multiple imputation to fill in these missing values.
How can I perform a repeated measures ANOVA on these (5) datasets? Should I pool them first? And how (or can) I run a repeated measures ANOVA straight away with these 5 (MI) datasets?
I wor... |
Let's say I have a database of a lot of (thousands) chess games. In chess, every player have a rating, called Elo that gives an estimation how strong is this player. If we know the the Elo ranking of both players, we can give an estimation of the probabilities of the possible outcomes of the match. In theory, a player ... |
I am trying to model a sequential exploration-exploitation problem with learning as a multi-armed bandit, where the reward mixes a Markovian and a stochastic reward.
I understand how to model a bandit problem with Markovian rewards. In a Markovian bandit problem, each time the Decision Maker (DM) pulls an arm, the stat... |
Let $c$ be a positive constant. Suppose I have $X$~$Unif(0,\theta)$ and I wish to test the null hypothesis $H_0: \theta \leq c$ against the alternative hypothesis $H_1:\theta > c$. Suppose I did a sample $X_1,...,X_n$ but I obsrerve them with perturbation - that is, I actually have on hand $Y_1:=X_1+\epsilon_1,...,Y_n:... |
I once read a R example of computing Value-at-Risk and expected shortfall as follows
p = c(0.5,0.1,0.05,0.025,0.01,0.001)
VaR = qnorm(p)
ES = dnorm(qnorm(p))/p
I am not sure why the expected shortfall can be calculated this way?
|
I make a certain measurement and I would like to arrive at a single descriptive number that would give me an idea of both the average value of the measurement, as well as the deviation from the mean. In fact, the deviation (general extent - how far do the values go?) interests me more than the mean, but I am aware that... |
I have 2 campaigns (a control and a test campaign), the data are like this:
Capaign # of launches Revenue/Visits
Control 1 2.35
Test 1 1.97
I'm trying to do a hypothesis testing on Revenue/Visits metric. But since I don't know it's distribution, I thought It... |
I'm currently writing my thesis, and I received feedback from my professor that i need to show the correlations between all variables during the time span of my research.
N: 291
Years: 11 (2000 - 2010)
Total variables: 25
I have created a correlation matrix in SPSS (using R for the analysis), I have done this for all... |
I'm reading this book on concentration inequalities and I'm trying to solve all of the exercises in the book. The following problem is from the book which I couldn't manage to solve. I have also posted it on MSE a while ago, but I received no response, yet. I'd appreciate it if anyone can give me a hint for solving thi... |
I am using the usual estimator for kurtosis, $$\hat{K}=\frac{\hat{\mu}_4}{\hat{\sigma}^4}$$, but I notice that even small 'outliers' in my empirical distribution, i.e. small peaks far from the center, affect it tremendously. Is there a kurtosis estimator which is more robust?
|
I want to use the glht() function from package multcomp.
In the linfct argument, I provide my linear functions to be tested.
I provide contrasts there, such as (for example)
c("Group1 - Group2 = 0", "Group1 - Group3 = 0")
to compare group no 1 against the other groups.
I want to do Tukey's test in this fashion. I saw I... |
After a series of tests and exploratory analysis, I have design a linear model in R, the model is the following:
summary(gn)
Call:
lm(formula = NA. ~ I(PC^0.25) + I(((PI)^2)), data = DSET)
Residuals:
Min 1Q Median 3Q Max
-425.22 -87.46 -2.30 79.11 396.14
Coefficients:
Estimat... |
I'm using the multcomp package in R to do a trend test as part of an ANOVA. I am wondering if it is possible to not only ask "is there a trend" within one of the treatments but also "are the trends different" between the 2 treatments?
I'm using a means parametrization like
glm(response ~ -1 + treatment:factor(year), ... |
I have 2 classification methods that I want to compare. So I ran them on the same dataset and I obtained 2 different classifications.
Then, I want to test if their classification is robust and how. Supposing each classification gives $n$ classes, for each method (classification):
I created $m$ datasets for each class,... |
I've been struggling with this problem for a while now, with not much progress. Any suggestions would be helpful!
Suppose I have $X_1, .., X_5, Y_1, ..., Y_5, X'_1, ..., X'_5, Y'_1, ..., Y'_5$, i.e., I have 4 groups of 5 random variables each. The r.v.s in each group are i.i.d. and follow the unknown distributions $X, ... |
I am trying to understand difference between different resampling methods (Monte Carlo simulation, parametric bootstrapping, non-parametric bootstrapping, jackknifing, cross-validation, randomization tests, and permutation tests) and their implementation in my own context using R.
Say I have the following situation – I... |
My question is related to this one. I'm working on an experiment involving transferring data between different locations all over the world via the Internet. As the Internet can be busy, sometimes it takes longer to transfer the same amount of data than the other times. The difference can be significant, e.g. for the 1... |
Following this thread "Does a univariate random variable's mean always equal the integral of its quantile function?" I tried to do a similar thing for a conditional expectation. It seems like my stochastic skills are a bit rusty. For a continuous r.v. with support on the real line I think that it holds
$ E[X|X<q_\theta... |
I'm new to CV, so please excuse any faux pas. I've collected sample data from a population and would like to discern whether or not the experimental group outperforms the control group. Let's say I have 10,000 observations within the experimental group and saw 4500 successes. Let's also say that I observed a 47% succes... |
I am dealing with an example stated in here.
Given the same data in the above link and following a parametric bootstrap method suggested in here, I computed the standard errors for maximum likelihood estimates (the method suggested there worked perfectly well! Thank you!).
But I would like to compare the result from t... |
First of all, I am rather new to statistics, so go easy on me.
I am aware that the negative binomial distribution can be thought to arise as a result of letting the $\lambda$ parameter in a Poisson distribution vary like the Gamma distribution. I wanted to know if there was a similar result for a Poisson-Gaussian mix, ... |
I'm using a k-fold (10-fold) cross-validation while building a model. I'm only using it to get an estimate of the out-of-sample error, not to pick a model from candidates.
For example, if I have 30 points, I use 27 points to train a regression model, and record the (squared) prediction error of the remaining 3: (yPred... |
Suppose I have a relatively large number of samples (~1k) drawn from a series (~40) of increasingly long-tailed distributions (going from approximately normal to approximately log-normal). I want to estimate the mean and its uncertainty for these distributions, which I do using jackknife resampling because the samples ... |
I am trying to learn ttest and ANOVA for my project. I need to know that my subjects answers "effected" by the feedback they get from the first question.
What should I use to show "sth did effect or not sth"?
ANOVA or ttest?
Thanks in advance.
My data is:
A person answers a question and receives a feedback as "good/... |
I haven't quite understood the correct meaning of what it means to take the partial derivative of a cost function with respect to the parameters, say theta. Suppose these parameters include 2 arrays of dimensions axb and cxd.
When we do stochastic gradient descent, then what will be the partial derivative of J wrt thet... |
Background: We are looking at parental leave in Iceland. We are particularly interested in whether the economic crisis and the resulting changes in parental leave legislation affected the time taken for parental leave.
We have reason to believe that the effect of the crisis / new laws will be different for mothers and ... |
I have read several threads about the issue on same outputs after people fitting a neural network model with R neuralnet. Posted Solution is to normalize or scale the data before fitting model. Since I am a newbie in this area, I feel confused in the inconsistence between the normalized training data and normalized tes... |
I don't have much experience with panel data so I apologize in advance if this sounds ridiculous.
Let's say that I am trying to control for individual and temporal fixed effects when running a panel data regression and I have 998 individuals and 29 years of data. In Stata the way to deal with multi-variate fixed effect... |
I can understand what a handwritten digit is, but what is meant by "binary image"? Can someone explain it?
I am studying machine learning concepts. In doing so, I've come across many types of inputs. For example: binary, continuous, and discrete. The inputs are provided through MNIST handwritten image datasets. In that... |
I am an actuary working on a Bayesian loss reserve model using incremental average severity data. Exploratory analysis of the response seems to suggest a skew normal distribution of some sort would be appropriate, as there are some negative values in the left tail, and the log transformed positive values fit a normal d... |
Should one use regression analysis when all independent variables are binary categorical (0,1) to see their effect on continuous dependent? Some suggest that regression shouldn't be used in this case.
|
For $i=1, \ldots, K$ and $j=1, \ldots,n$, assume the following model.
\begin{align}
X_{ij} \mid \mu_i, \sigma^2 & \stackrel{_\text{iid}}{\sim} N(\mu_i, \sigma^2) \nonumber \\
\mu_i & \stackrel{_\text{iid}}{\sim} N(\mu, \tau^2) \nonumber \\
\ln(\sigma^2) & \sim N(\mu_v, \tau_v^2)
\end{align}
First assume all the prior... |
I'm kinda brand new to statistics and I'm developing classification algorythm. My method is based on simple chi-square goodness of fit. I am counting the effect size of known cases to predict the future ones.
My problem is that I don't really know how to deal with large sample sizes, neither do I know when is a sample ... |
In general, I'm wondering if there it is ever better not to use orthogonal polynomials when fitting a regression with higher order variables. In particular, I'm wondering with the use of R:
If poly() with raw = FALSE produces the same fitted values as poly() with raw = TRUE, and poly with raw = FALSE solves some of the... |
In hierarchical clustering procedure, a distance matrix is used to construct a dendrogram with an appropriate method of clustering. In the process of constructing a dendrogram, a cophenetic matrix is computed. I understand that such a cophenetic matrix is used to assess clustering consistency.
How can I use a cophenet... |
I'm using the Kevin Murphy's HMM library in MATLAB(http://www.cs.ubc.ca/~murphyk/Software/HMM/hmm.html)
There is a section called 'How to use the toolbox'. There is this example for GMM ouputs:
Let us generate nex=50 vector-valued sequences of length T=50; each vector has size O=2.
O = 2;
T = 50;
nex = 50;
data = randn... |
I am working on the following problem. Given N days of stock returns, I compute the covariance matrix for stocks. I then use Probabilistic PCA to "shrink" the covariance matrix. I am trying different number of principal components: 1, 2, etc. I then compute the log likelihood of observing the next-day's returns under t... |
I am reading a research paper about the relationship between service quality and consumer behavior. One hypothesis is: customers experiencing no service problems have the strongest levels of favorable behaviors and the smallest levels of unfavorable behaviors.
ANOVA was operated, results are:
The author intepreted:
"... |
I'm making a random forest classifier.
In every tutorial, there is a very simple example of how to calculate entropy with Boolean attributes.
In my problem, I have attribute values that are calculated by tf-idf schema, and values are real numbers.
Is there some clever way of applying an information gain function so it ... |
I have 3 different populations, represented by their specific means and SDs. So I have 3 means with their 3 SDs:
Mean1 = 5.5 SD1 = 0.65
Mean2 = 5.9 SD2 = 0.32
Mean3 = 5.4 SD3 = 0.49
If I want to obtain a sample size (n) of 1000 randomly of each population according to their respective means and SDs, how can I do it... |
When plotting two kernel desitiy estimates into the same frame
plot(density(all4[,3],kernel="epanechnikov"),col='red',ylim=c(0,0.4),xlim=c(-50,50))
lines(density(all2[,3],kernel="epanechnikov"),col="blue",ylim=c(0,0.4),xlim=c(-50,50))
the result looks like this:
which is quite strange since the area under both plots ... |
Please explain the difference between a parametric and a non-parametric test.
Do all data mining techniques come under the non-parametric category?
|
I would like to analyse the impact of Fund Size on Mutual Fund Performance by using quintiles (based on fund size). My approach is to look at the effect within each quintile to conclude uniformity of the potential effect among all size groups. My initial thought was to use a dummy regression (quintiles=dummies) with in... |
My question is very similar to this previous post. I'm searching for the right distribution family to use in a GAM. My data are disease occurrence on benthic organisms (continuous response variable) and are right skewed (see histogram below). I would like to test the relationship between disease occurrence and percenta... |
I'd like to make a scatterplot of a partial correlation - so a correlation with covariates. How should I do this in SPSS? If necessary, I could also do it in R. The most important thing is to show the correlation with variables partialled out.
|
I have to analyse a set of grouped data. The data is divided into groups by some categories for example: BP(<=60), BP((60,80]); Pulse(<75), Pulse((75,90]) & Pulse(>90) etc having many more factors affecting health. Each of these categories have no. of people as their frequency.[Example has been given below]. I have ... |
I am searching for the correct definition of a methodology I am using to test the robustness of different classification methods.
I am creating different subsets of the full dataset by cutting away some samples. Each subset is created independently with respect to the others.
Then I run each classification method on e... |
I am trying to find a formula, method, or model to use to analyze the likelihood that a specific event influenced some longitudinal data. I am having difficultly figuring out what to search for on Google.
Here is an example scenario:
Image you own a business that has an average of 100 walk-in customers every day. One d... |
I have a study where patients were measured pre-operatively (time_pre), post-operatively (time_post) and long-term follow-up (time_lt). I have 60 subjects.
Data consists of: 5 scale variables (1-100) 14 ordinal variables (1-5) and some patient specific characteristics (none missing) like age, gender, co-morbidities (y... |
I have two regression models.
lm(TEE ~ weight + gender)
lm(TEE ~ BMR)
How do I compare these two models and check which one predicts TEE best?
|
This question is a bit embarrassing, but I do not have much experience of statistical analysis. The problem I have is that the analysis I do of the results in my paper is so meager. My results from a fixed effects regression basically consist in the effect of one or two central explanatory variables. I can comment on t... |
I've recently started experimenting with Genetic Programming as an optimization tool. I'm still a little confused as to how to reduce overfitting in this framework.
A couple of techniques I've read about
Limiting the number of generations
Limiting the tree (genome) size
Adding a complexity penalty to fitness functio... |
I need help trying to figure out what data-structure I'm dealing with, and what estimation & inference models I can therefore use.
There are multiple units and periods.
No unit identifiers, so there's no way to match observations over time to create your traditional panel dataset.
What's worse, there's a high chance t... |
I am running a simulation. One of my parameters is sampled from a normal distribution. I would like to perform a sensitivity analysis using a right skewed distribution.
This is what I had hoped to do: specify a log normal distribution, with a leftward translation so that it has the same cumulative density below zero as... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.