instruction stringlengths 9 38.7k |
|---|
I'm a bit confused about the visualization of the weights of a feed forward neural network as provided in this example from scikit-learn. The network has an architecture of [784 x 50 x 10] (MNIST dataset), so n_hidden = 50 (there are 50 hidden units). Each of the hidden units is a column of the weight matrix W_1 (with ... |
I want to tune my neural network and find the some good lambda and eta values. I can do exhaustive grid search to find the best combo. However Bergstra in this http://www.jmlr.org/papers/volume13/bergstra12a/bergstra12a.pdf proposes random search.
How am I supposed to do this?
Heres is how i think of it:
generate 100 r... |
Let $X$ and $Y$ be two independent non-negative random variables such that $E[X] = E[Y] = \mu$ but $\operatorname{Var}[X] < \operatorname{Var}[Y]$. Can we use only these two moments to show that for $z>\mu$,
$$
\operatorname{Pr}(X > z) < \operatorname{Pr}(Y > z).
$$
If not, can we show a counterexample or weaker claim... |
I have a computer generated data and when I plot the raw data, I see the following plot.
As a quick and dirty method, I applied linear model to this data and when I plot the predicted vs residual, I got expanding flannel plot which shows that the variance is not random. Therefore, I used BoxCoxTran method in caret pa... |
Research context:
(1) What's the effect of a binary X1 (gender) on a continuous Y (index for consumption of femine-gendered goods), controlling for demographics. (2) Is this relationship moderated by continuous X2, X3, X4 (gender salience, perceived differences between genders, amount of close friends from other gende... |
I'll begin with my two question and all the related information (description of the research and the data and full output) will follow.
When i execute model1 (glmm with random intercept only for subjects): predictor (suppBin) and outcome (DtlsBinUp) and pre-intervention variables, it results with significance . when I... |
Suppose I have dataset(518 observations):
df$SalesPrice df$SqFeet df$Garage df$Year df$Quality df$Style df$Lot
360.000 3.032 2 1972 2 1 22.221
340.000 2.058 2 1976 2 1 22.912
250.000 1.780 2 1980 2 ... |
It is well known that if a generic autoregressive process of $n$ order, $AR(n)$, has a gaussian white noise error term ("innovations"), then it is gaussian too.
So I presume that if the error term is not gaussian, neither the process necessary is.
Anyway, in a paper I'm reading, it is said that $AR(n)$ must be gaussian... |
I was reading the wikipedia article on local martingales and it states the following theorem
Let $W_t$ be standard Brownian motion and let $f:[0,\infty)\times\mathbb{R}\rightarrow\mathbb{R}$ such that f is twice continuously differentiable.
If $M_t=f(t,W_t)$ it is a local martingale if and only if it satisfies the par... |
I wish to model the following relationship $$Y \sim af_1(X) + bf_2(X) + cf_3(X) + ..., Y \in [0,1]$$
where $Y$ is a response (a percentage divided by 100) and $X$ is a covariate which I want to model using those $f$-basis functions. The study's interest lies in the effect that covariate $X$ has on $Y$.
Based on what I ... |
Is there a way to identify if your data is MNAR, MAR, or MCAR?
And when performing multiple imputation, should you include all predictor variables even if only 1 or 2 variables have missing values? (SPSS)
Some context:
I am running a multiple logistic regression where one of my variables has almost 20% missing values. ... |
On the wikipedia page of convolutional neural networks, it is stated that rectified linear units are applied to increase the non-linearity of the decision function and of the overall network: https://en.wikipedia.org/wiki/Convolutional_neural_network#ReLU_layer
Why is increasing non-linearity desired? What effect does ... |
Let $X_1,...,X_n$ be $p$-vectors uniformly distributed in the ball $B_r=\{x:\Vert{x}\Vert_2\le r,r\gt 0\}.$
Can someone explain to me what it means by "uniformly distributed in the ball"?
For example, what does $X_i$'s distribution look like? I am having trouble understanding these high-dimensional stuff... .
|
I already made this question before (Is it appropriate to perform a meta-analysis of comparisons involving several communities where one of the communities was part of multiple studies?). I am making it again because after reading about network meta-analysis, as suggested in the answer that I received, I am not sure it... |
I have a model
model_1=dynlm(y_log~x1_log+x2)
where y_log, x1_log are I(1) and x2 is something between I(0) and I(1) (I rejected unit root with ADF test but KPSS test rejected stationarity).
I would like to estimate this regression and get coefficients I could trust. I am looking at this regression as on cointegration... |
Suppose I have a linear model:
model.lm2 <- lm(df$SalesPrice ~ df$SqFeet + df$Garage + df$Year + df$Quality + df$Style + df$Lot)
summary(model.lm2)
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -2680.9219 397.1155 -6.751 4.04e-11 ***
df$SqFeet 105.8539 6.8433 15.468 < 2e... |
I have a hypothesis "People are better at detecting a lie when they are able to see a persons expression, compared to people that are not". The results were that 3 out of 20 people detected a lie correctly from seeing a facial expression and 5 out of other 20 people correctly detected a lie from only hearing it.
I've d... |
I have this equation:
$$-\frac{n-1}{n-2}\left\{ \frac{b\sum_{i=1}^{n}x_i^2\left[ x_i^2-\left( \frac{\sum_{j=1}^{n}x_j^2}{n}\right)\right]}{\left( \sum_{i=1}^{n}x_i^2 \right)^2} \right\} [1]$$
and he transforms it into:
$$-\frac{n-1}{n-2}\left\{\frac{b\sum_{i=1}^{n}\left[x_i^2-\frac{\sum_{j=1}^{2}x_j^2}{n}\right]\left... |
Let's say we have $X_1,\ldots, X_n$ iid Bernoulli($p$), ask for MLE for $p$. I'm pretty struggled on the second derivative of log-likelihood function, why it is negative? My second question is what is MLE when the maximum is achieved on the boundary of the parameter space : ${\sum x_i}=0$ or $n$? Looking forward to any... |
I am very confused with an article about arima-garch modelling:
http://article.sapub.org/10.5923.j.ajms.20130306.04.html
I am interested in modelling of safaricom closing price. I also just interested in the arima part of the modelling(not with garch part).
Part 4.2 of the article as below:
"
The upper left graphs sho... |
In R, is there a way to use the lm function to test for the hypothesis that the coefficients are different from a value other than zero? For instance, if the model is:
Y = a + b1x1 + b2x2 + b3x3 + e
It is easy to test whether a single b is different from an arbitrary number. If you wanna test for b1 = 10, then you can... |
How to interpret big signal variance of optimized gaussian rbf kernel in gaussian process regression model? How to interpret big signal variance in general for this kernel? The function that is optimized is log-marginal likelihood:
$$
log p(y|X) = {-\frac{1}{2}y^T(K+\sigma^2_n\mathcal{I})^{-1}y} {- \frac{1}{2}log|K... |
When drawing an ROC curve for a binary classifier, we vary, say the probability threshold of one class vs the other and get the curve.
However I'm confused what this means in a multinomial case where the classifier returns probabilities of the various classes (and I'm just picking the class with the maximum probability... |
I have 5 variables predicting a total price for selling an item. I also want to be able to include interaction terms in the model. However, I want to sell the item at the 75th percentile in order to ensure my price is competitive.
I am under the impression that a regular simple linear regression model predicts the 10... |
I want to apply kmeans clustering algorithm on dataset of 12008 samples. This dataset is actually an eigenvector matrix of size (12008 * 12008) generated from given laplacian matrix. In order to estimate the best value of k, I used a technique called Elbow method using R as the following:
set.seed(1)
k.max <- 10
wss <... |
I want to decay my learning rate by some factor, say factor of 5, after 7 iterations.
Suppose that my initial learning rate is 0.06.
I really don't understand how this works. Some people on the web say that after 7 iterations it should be 5 times smaller. Other people say it should be 5% smaller than the initial value.... |
I have a model (not linear) that I am using to predict an outcome at a later time. I have plotted the model-predicted outcome versus the true outcome at various times, and I have a question. What would be the best metric to use to judge prediction performance? Someone suggested $R^2$, but technically I am not regressin... |
I am currently studying this paper In which i am having some problems understanding the purpose of the forward-backwards algorithm.
First of all why even have both forward and backwards?
It seems to me that after one have computed the forward variable:
$$\alpha_{t+1}(j) = [\sum_{i=1}^{N}\alpha_t(i)a_{ij}] b_j(o_{t+1}... |
After fitting a logistic regression model in R using model <- glm(y~x,family='binomial') I can obtain the confidence intervals for the fitted coefficients using confint(model), but I want to know how to manually compute these values. In the case of a linear model lin_mod <- lm(y~x) I can just do the following to obtain... |
Can somebody explain how this works or direct me to a rule that describes this simplification? I understand the whole process but how the 'getting the $n$ in front to $\lambda$' works is unclear to me.
$p(x_1,...,x_n|\lambda) = \prod_{i=1}^{n}\frac{\lambda^{x_i}e^{-\lambda}}{x_i!}$
$\log(p(x_1,...,x_n|\lambda)) = \left... |
I am running multinomial logit model using mlogit in R. The model includes 3 alternatives as the dependent variable and 4 individual specific predictors. Sample size is 50. The three of them are of class:factor while the other predictor is in class numeric.
When I run model with ONLY 3 class factor predictors it works... |
I am running a logistic regression of marital status on age, age^2, religion importance, gender, race, education level, income, hours worked and residence area, using data from NLS.
After doing all the work of data cleaning I am running a logistic regression and even after converting the log odds into odds I get very ... |
My outcome had a prevalence of 51% (yes, disease). I need to know which is the best regression to use Binary or Poisson Logistics in the identification of the associated factors. All my data is categorical (male, female / yes, not / younger, older) ....
What are the implications on my results of using one regression in... |
I have a ball on a table located in position $x', y'$.
I am using many different rulers to measure the coordinates $x_i, y_i$ of the ball. I do this with $N$ different rulers, so $i = 1\ldots N$. Each measurement comes with an uncertainty $\epsilon_{x,i}, \epsilon_{y,i}$ drawn with mean 0 and uncorrelated but known va... |
Let $ F(g), Y $ be a random variables with finite expected values. Then, we define $ X(g) $ as:
$$
X(g) := \left\{
\begin{array}{ll}
1, & \quad \text{if } F(g) + Y > 0 \\
0, & \quad \text{else.}
\end{array}
\right.
$$
Is it true that $ \mathbb{E} [ X... |
Linear Mixed Effects Models are Extensions of Linear Regression models for data that are collected and summarized in groups. The key advantages is the coefficients can vary with respect to one or more group variables.
However, I am struggling with when to use mixed effect model? I will elaborate my questions by using a... |
I am working with NLS data. It's cross-sectional data for different variables in 2013. On of my independent variables is annual income. I start off with 7k respondents and if I would drop data for the negative income and NA's I will reduce my sample to 5k. So I am thinking about replacing the NA's with the average and ... |
I have a data in which one group of observations (non-experienced users) may have different patterns of behavior (most of them are not captured by my data) from the other group's observations (experienced users). I am estimating the effect of another variable on a dependent variable, in a linear regression. I of course... |
I was asked to evaluate how the output changes in response to input variables. For this I have randomly create sensible value of input variables. These are then imported into a software which yields the output variables, however I do not know which formula is used for the calculations. How can I make statements about t... |
I have two groups with mean values and standard deviation values of the purchase power index, where N is the number of observations used to calculate mean and std.dev. for each group.
Group 1 Group 2
Mean Std.Dev. N Mean Std.Dev. N
2.5 0.25 100 3.2 0.8 150
How can I estim... |
Can I still try multiple linear regression when there is no or very small(2 to 10%) correlation (Pearson) between the Independent variable(continuous) and Dependent variable(continuous). But very small correlation among independent variables(5% to 25%).
if regression is not possible, Is there any predictive modeling... |
I need to be sure that the difference between estimations of the percent of returning visitors to a web page in two groups is not just a random difference. I have the following data:
Group 1 Group 2
Day 1 2.0% 2.2%
Day 2 1.8% 2.1%
...
Day 5 2.1% 1.5%
For example, there is 2.0% of pe... |
I have a dataset, in which I have multiple OUTPUT vars, let's say $Y_1, Y_2, Y_3$. All are numeric. I also have multiple input, $X_1,X_2,X_3,X_4$. The $Y_1, Y_2$ and $Y_3$ depend on all $X_i$ vars.
I have used linear regression in past. If there was just one $Y$, I could have easily used it. I need to predict $Y_1, Y_... |
I ran a Poisson regression in SPSS with hypothesis: increase in level of democracy leads to reduction in infant mortality (IMR). So democracy is the independent variable and IMR the dependent.
I got the coefficient of democracy -0.186.
Does this mean, one unit increase in democracy level will lead to a $exp(-0.186)=0.8... |
From this article titled A Convolutional Neural Network for Modelling Sentences, it is mentioned in section 2.2 that generation the output of a convolution layer is determined by the formula of:
where m refers to the size of the weight matrix with dimension d x m , s refers to the sentence matrix of dimension d x s ,... |
The study is looking at a reading program for children, half the sample given the real treatment program and half a fake program, their score on the reading measure is taken at 3 times, before, during and after the treatment program. There are also 2 potential moderators, maternal depression (scores ranging anywhere be... |
I'm trying to solve myself such a problem: calculation of Bayes Factor for two groups from exponential distributions.
$$x_1, x_2, \ldots, x_n\sim \exp(\lambda_1)$$
$$y_1, y_2, \ldots, y_m\sim \exp(\lambda_2)$$
I will show what I have already done and my two questions are below.
The null hypothesis is $$H_0: \mu_1=\mu_2... |
I am using Random Forest to predict a target variable from about 20 independent variables in a 40000 entry database. As you see from parity plots of test set, I have sever overfit and probably other problems. The fact that I have some overerestimation in smaller target variables in the training set's parity plot shows ... |
I have a machine learning problem where the dependent variable is binomial (Yes/No) and some of the independent variables are categorical (with more than 100 levels). I'm not sure whether dummy coding these categorical variables and then passing them to the machine learning model is a optimal solution.
Is there a way t... |
I'm reading A First Course in Bayesian Statistical Methods by P. Hoff where he is using Jeffrey's prior (J) and Unit information prior (U) for Normal model. For example we can derive Jeffrey's prior for Normal model and get $p_{J}(\theta, \sigma^2) = (\sigma^2)^{-3/2}$ and then obtain a posterior $p(\theta, \sigma^2 | ... |
For two events $A$ and $B$, then how to prove that
$$\Pr(A+B\geq 0) \leq \Pr(A\geq 0) + \Pr(B\geq 0)$$
I have a proof as follows, but I think it is not quite intuitive which needs to write it down to figure it out.
\begin{align}
\Pr(A+B\geq 0) &= 1-\Pr(A+B < 0)\\\\
&\leq 1-\Pr(A<0 \cap B < 0)\\\\
& = \Pr(A\geq 0 \c... |
I am reading Stanford's tutorial on the subject, and I have reached this part, "Training a Neural Network". So far so good. I understand pretty much everything.
I would like to change the ReLU he is using there, with a Leaky ReLU. My question, is, do I have to change the way he is doing the back-propagation? How do th... |
I am running a logistic regression of marital status on education, age, income, religion, gender, race, MSA, hours worked.
I have many categorical variables, such as religion importance or race that I group to a binary variable: Instead of having: Blacks, Hispanics and Others, I just have Blacks and Others. And for rel... |
Question:
One common misunderstanding of p-values is that they represent the probability of the null hypothesis being true. I know that's not correct and I know that p-values only represent the probability of finding a sample as extreme as this, given that the null hypothesis is true. However, intuitively, one should b... |
I fitted some models using MCMC using different link functions like
$$\text{Logit}:\qquad \hat{y_i}=\frac{e^{x_i^T\hat{\beta}}}{1+e^{x_i^T\hat{\beta}}}$$
$$\text{Probit}: \qquad \hat{y_i}=\Phi(x_i^T\hat{\beta})$$
$$\text{Cloglog}:\qquad \hat{y_i}=1-\exp(-\exp(x_i^T\hat{\beta}))$$
How I can get confidence intervals for ... |
I have 200k sequences and each element of the sequence is vector of length 200. I plan to learn a HMM using this data, using the Baum-Welch EM algorithm to infer transition and emission probabilities. I wanted to know if I can do the fitting in batches of sequences(i.e. learn a HMM from say 1000 sequences first, and t... |
I recently learned AUC and ROC and confused about the usage of AUC. What if my model A has a higher AUC than my model B but in terms of one particular threshold--one particular point on the ROC graph--model B has the highest accuracy or F1 score? If this situation happens, then although the overall performance of model... |
Is there a difference between a general linear model (GLM) and general regression model (GRM)?
|
I have two groups that I wish to assess for statistically significant differences (n1=1520 / n2=115). I'm actually using T-Test for independent samples.
As far as I know, there isn't a problem here because thanks to the Levene test it can assume unequal variances. The thing is, I need the 'scientific' justification for... |
I have two variables: the number of employees who work from home in the firm and the number of independent contractors in the firm - and I have this data for 70 firms.
I am trying to determine what statistical measure of association I can use to determine whether there is a relationship between these two variables.
I ... |
I am measuring the change in density of algae over time. I have seven different species and I am testing their different ability to survive after treatment compared to control. I made 7 control samples for each - and seven treated samples (no replicates). The treatment is the only variable - all physical and chemical c... |
Hi I'm having trouble setting up my data in long format for GEE.
I know multiple waves of data must have the same variable names but what if these variables are wave specific?
Outcome: Substance use initiation at wave 2 among naive smokers
explanatory variable: household smoking exposure at wave 1
How can these variabl... |
I have three statistical models, partial least square(PLS), random forest (RF) and support vector machine (SMV). I have divided my three datasets (e.g. leaf, canopy, shrub) randomly 1000 times into calibration and validation set and ran the models and calculate the error (a vector of 1000RMSEs). The result is shown in ... |
I have done a questionnaire with six questions to measure engagement. This is the only component I measure. To make sure they measure just one component, I tried to run a Factor analysis with Direct Oblimin. However, when I run the test it will not show a pattern matrix. (Is this because I have only one component? If y... |
I am reading some intro to statistics book and these passages came up:
and
and then,
So I see the estimated slope of the family-income is -0.04 and the standard error is 0.01 and the t-value is -3.98 implying that the null hypothesis is likely false.
My question is why we use a t-value instead of a z-value?
We have... |
I am doing a parameter estimation for a two-level model via maximum likelihood estimation. My MLE optimization procedure requires multiple numerical integrations over a 3 dimensional space at each step to estimate the mean and covariance of a multivariate normal distribution.
Basically, my MLE problem involves a margi... |
In SVM, we minimise the Lagrangian (primal form):
$$L_p = \frac{1}{2}\Vert w \Vert^2 - \sum_{i=1}^m \alpha_i[y_i(w \cdot x_i + b)-1]$$
by taking partial derivatives with respect to $w$ and $b$, obtaining the two equations:
$$w = \sum_i \alpha_i y_i x_i$$
and
$$\sum \alpha_i y_i = 0,$$
with the coefficients $\alpha_i \g... |
Is there any research on learning a bijective function from data?
For example, let's imagine that we're trying to learn to assign four random musicians to instruments in a band. We have:
lead guitar
rhythm guitar
drums
bass
We can rate any musician on say 5 quantifiable skills (timing, creativity, guitar, drums, bas... |
This is a HW problem in my undergrad Statistics course. I am unsure of how to proceed. We were given a text file of data. I assumed that we would need $\overline{X}$; which I found to be $1.312670963$. In a past assignment we showed that as
\begin{equation}
n\rightarrow \infty, \tilde{\theta} = \sqrt{\dfrac{1}{2n}\sum_... |
I want to analyse a cohort study where individuals where followed for a number of years and to examine factors that influence occurence of disease (by a Cox model or logistic regression). One factor is family history (occurence of disease in patients, assessed at baseline). What adjustment is needed to allow for the fa... |
I need to work out how to calculate the random effects from my random intercepts multilevel model, to test if wellbeing of workers (level-one) is affected by the hospital they work in (level two).
My fitted equation looks something like this:
WBSCOREij= β0CONST+ β1HOURSij + Uj + Eij
For an individual who works 15 hour... |
I have NLSY97 data and specifically look at a cross-section (2013 data), where respondents are between 28-32 and who got married and who didn't. I want to see which of the independent variables are significant in predicting marital status and which one predicts the highest log odds. This is the model I run in R:
glm(f... |
The heights of school desks have a normal distribution with mean $69$ cm and standard deviation $\sigma$ cm. It is known that $15.5$% of these desks have a height greater than $70$ cm.
$i)$ Find the value of $\sigma$.
How do I do this?
|
If I use a Jeffreys prior for a binomial probability parameter $\theta$ then this implies using a $\theta \sim beta(1/2,1/2)$ distribution.
If I transform to a new frame of reference $\phi = \theta^2$ then clearly $\phi$ is not also distributed as a $beta(1/2,1/2)$ distribution.
My question is in what sense is Jeffreys... |
Suppose I have $M$ matrices $n\times n$ of the form:
\begin{equation}
C^{k} = \begin{bmatrix}
x^{k}_{11} & x^{k}_{12} & x^{k}_{13} & \dots & x^{k}_{1n} \\
x^{k}_{21} & x^{k}_{22} & x^{k}_{23} & \dots & x^{k}_{2n} \\
\vdots & \vdots & \vdots & \ddots & \vdots \\
x^{k}_{n1} & x^{k}... |
In order to model the probability of an event $ e \in (0,1) $ as a function of some independent variables we may face the situation where a group of individuals in a given time has $ e= 0 $ and in another time, without changing any of the dependent variables, has $ e = 1 $. Alo we may have another group of individuals ... |
This is a very basic question regarding weights.
Let us say I have product A that has 100 reviews. Let us say 80 of these reviews are positive and 20 of these reviews are negative. The score for product A is 80%.
Let us say I have product B that has 1000 reviews. Let us say 800 of these reviews are positive and 200 o... |
I am trying to understand how to apply the Binomial test to the following problem:
From the first box, we retrieved 10 rotten tomatoes, from the second none. Use the binomial test to test if rotten tomatoes is significantly more frequent in the first box.
In classical examples it is necessary to provide the probability... |
I am learning mixed effect model from here.
I built a simplified model and trying to extract the $\gamma$ vector from linear mixed effect model
$$y=X\beta+Z\gamma+\epsilon$$
then calculate variance of $\gamma$. (It is a toy model and we only have random effect on intercept, so $\gamma$ is a vector not a matrix)
Why it... |
Why it's said when we estimate a parameter, from 100 confidence intervals, 95 will have the parameter. And why it is incorrect to say that is a 95% probability that the true parameter is in the confidence interval?
Thank you in advance.
|
In Applied Multivariate Statistical Analysis, Wichern and Johnson state that "with reasonably large samples, the MANOVA tests of means are rather robust to nonnormality". Why is that?
|
Assume that we have an ordinal scale IV (e.g. EDUCATION LVL) and an interval scale DV (or for Anova, response variable) (e.g. JOB_INVOLVEMENT)
As i know, Spearman rho gives us (a) whether there is a sig. association b/w IV & DV, and (b) magnitude of the relationship.
On the other hand, Anova (& post-hoc tests) results... |
I am randomly holding out 10% of data out of the whole dataset as test.data and train the GBM model on a remaining 90% of rows train.data (with x and y provided, no nfolds or validation data set provided )...
Once I print it, the trained model - it shows auc measure of 1 or 0.999.
But when I actually validate predictio... |
Pretty naive question here. If we have two paired large (>1000) samples and are interested in a paired Cohen's d then why not take the pairwise difference of the two samples and consider its mean divided by standard deviation?
$$\frac{\overline{{X}_1 - {X}_2}}{SD_{X_1-X_2}}$$
To my meager knowledge this seems like a g... |
I understand why ridge regression (equivalent to using a Gaussian prior on the coefficients in a Bayesian setting) works well in the presence of multi-collinearity, but couldn't one argue that other shrinking priors would also help? (e.g. say a Laplace prior, as in LASSO).
Moreover, if OLS is effectively equivalent to ... |
Playing with 16 cards. 4 A, 4 K, 4 Q, and 4 J;
Deal 8 2 card hands. Notice all cards are dealt.
Number of 2 card hands $\binom{16}{2} = 120$
Of the 120 there are 6 paired Q and 24 unpaired
For every rank there are 6 paired and 24 unpaired
4(6 + 24) = 120
What is the chance of
2 hands with a pair of queens ... |
I've seen this mentioned numerous times, most recently in motivating the MCMC method and description of the Metropolis-Hastings algorithm. The text (Simulation and the Monte Carlo Method, Second Edition. By R.Y. Rubinstein and D. P. Kroese) says:
An added advantage of MCMC is that it only requires specification of the... |
Does anyone know of articles in which, in addition to modeling the mean parameter, are also modeled the variance and correlation parameters? I know the double generalized linear model, but they only model the variance beyond the mean! I look for an article that also models the correlation!
Note: I did not find it on go... |
When making a time series forecast using LSTM RNN, how do you forecast more than one period in the future?
For instance, if I have a time series where the value $t_n$ denotes the value at interval $n$, it is straightforward to create a regressor for interval $t_n$. How then do I forecast at $t_{n+1}$? I can think of a ... |
I am having trouble determining which test to run for statistical analysis.
I have 10 subjects that took a test before and after intervention A and 10 subjects that took a test before and after intervention B. I want to compare the effect between intervention A and B.
I was thinking of having the Delta Scores from inte... |
I have a question of using the rpart for the regression tree.
I am wondering when i use plotcp, where would my validation data comes from? Currently, I have a training data set, test set and validation set. But if I simply do plotcp, how do I speficy my validation set?
#Regression Tree Example
library(rpart)
# grow t... |
I'm hoping I can get some help with the design of a study, I've looked at threads on similar topics but haven't found exactly what I need. We will be showing 6 videos to participants, and then asking them to rate the effectiveness of each video (so, each participant watches each video and then rates them all). They wil... |
I'm in the process of selecting 3 statistics classes to take for my Applied Math course cluster (doing my concentration in actuarial science or statistical analysis). Which 3 classes out of the following do you think are most useful/applicable in finance/tech/paired with Computer Science?
Stochastic Processes (Random... |
I am running a logistic regression where the dependent variable is the adaptation decision. With that I am considering 5 independent and continuous variables such as
age
income
educational attainment (expressed in years)
farm size
farming experience,
and another 4 independent dummy variables, namely:
tenurial sta... |
I just learned about improper priors in the Bayesian framework and was wondering if there could be any use in working with ''improper'' likelihoods. That is, if we believe there is something like overdispersion in the observed data relative to the models under considerations, could we propagate this uncertainty through... |
I have a giant array of integer numbers like this:
giantArray = [2048,128,512,512,128,8,....]
The content of this array changes every day and I need to estimate its mean really quick. I have limited processing resource for this job. Moreover, there is no guarantee that distribution and standard deviation of the array ... |
A basic limitation of null hypothesis significance testing is that it does not allow a researcher to gather evidence in favor of the null (Source)
I see this claim repeated in multiple places, but I can't find justification for it. If we perform a large study and we don't find statistically significant evidence again... |
I understood the "technique" for doing SVD and PCA.
However, I couldn't understand these two claims:
PCA/SVD decorrelate the variables
They do so using orthogonal transformations
For 1, PCA does the eigen decomposition of covariance matrix and SVD operates on the data matrix. How to explain that they decorrelate the ... |
So in the code below, which is pretty standard LSTM training for the IMDB dataset, I have run extensive experiments where I changed the drop-out value from 0.5 all the way up to 1, and the accuracy on the test set is ALWAYS ~78%, never deviating by that very much. I even tried extremely low drop-out values, such as 0.... |
I am using spark to perform random forest classification in a data frame with following structure
amount marital gender sector
10000 married male agri
12421 single male agri
14000 single female business
20000 marital female business
I am trying to predict the sector, using other variables. As you can see mar... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.