instruction stringlengths 9 38.7k |
|---|
Given a pseudo-random number generator of standard normal distribution, I generate a matrix $(z_{t,n})_{(t,n)=(1,1)}^{(T,N)}$ of samples. I computed the mean of the cumulative sum, i.e., $\displaystyle s_t = \frac1N\sum_{n=1}^N\sum_{s=1}^tz_{s,n} $. The expected standard deviation of $s_t$ should be $\sigma(s_t)=\sqrt\... |
I have a survey that includes many nominal variables (country, type of institution, etc.), a number of which have 10-16 possible levels. (For country alone, there are about 16.) I want to bring this into R in order to do a logistic regression. The dependent variable will be binary.
I have to recode almost all of those ... |
How do I get a measure of changes in autocorrelation over time ? As far as I can gather Arima models uses all its measuring points to develop the model and presupposes stability to be done. Should I just do sussesive arima models with i.e. 30 days intervals and compare, or could someone come up with a clever/or simple ... |
I have the following structural model, by which one of the regressors is partially explained by another.
$$
y_1= x_1+x_2+x_3+e \tag{1}
$$
$$
x_1= x_2 + u \tag{2}
$$
The questions are:
a) Can I run equation (1) alone without getting the coefficients wrong?
b) If as I suspect I need to take into account the endogen... |
I am trying to check homoscedasticity of Residuals to use an ANOVA in R with data with one variable and three groups. I have been checking options to do it, and I would like to know when to use a Breusch-Pagan test or a Levene's test? As I understand Breusch-Pagan test is used when a regression is fitted and Levene's t... |
Is this Cox-Snell plot of my Cox regression model acceptable?
Or should I keep on looking for a better one?
|
What does it mean for my model diagnostics if my qq plot looks like this:
As you can see .... "off the line".
|
Consider the following setup with known standard deviation $\sigma$:
\begin{align}
X|\theta &\sim N(\theta,\sigma^2)\\
\theta &\sim N(\mu_0,\sigma_0^2)
\end{align}
and $(\mu_n,\sigma_n^2)$ is the belief after $n$ samples.
Can we say that the posterior mean $\mu_n$ is always finite?
The updating equation seems to sugge... |
This question is for a course that I am taking, I hope is not repeated.
I have a dataset of 4500 observations with 17 variables. My response variable is binomial and I want to do a logistic regression to build a prediction model.
I normally use a stepwise approach to select my final model and the variables included in... |
Mean classification accuracy and the standard deviation on 44 cases of Method 1 are 0.7857 and 0.1076, respectively.
Mean classification accuracy and the standard deviation on 44 cases of my method are 0.8081 and 0.0711, respectively.
So the mean classification performance of my method is better than that of Method 1. ... |
I am reviewing the advanced section of the otext book on forecasting (https://www.otexts.org/fpp/9/1) and am hoping to obtain a clarification. Example 9.1 aims to model consumption based on income. Both series shown are quarterly % changes in US consumption, e.g. (Q3-Q2)/Q2 %, both are stationary. The parameter estimat... |
I wonder if there is any SAS procedure or other software which can do sample size calculation and power analysis for adaptive regression or MARS(multivariate adaptive regression spline)?
Thanks.
|
TL,DR: It appears that, contrary to oft-repeated advice, leave-one-out cross validation (LOO-CV) -- that is, $K$-fold CV with $K$ (the number of folds) equal to $N$ (the number of training observations) -- yields estimates of the generalization error that are the least variable for any $K$, not the most variable, assum... |
Working with a panel dataset (n=50 units, t=20 years at the monthly level = 240), I am fitting a fixed-effects model while controlling for the seasonality by monthly dummy variables. I defined the panel data by unit (1:50) and the time as a year-month (1:240). Here is how I did that in r's plm package.
paneldata <- pda... |
If $X$ is a real-valued random variable,
$$\mathbb{E}[X^2] - (\mathbb{E}[X])^2$$
is the variance of $X$.
Suppose now that $X$ is a random variable that takes values on $\mathbb{R}^n$. Consider the quantity
$$f(x) = \mathbb{E}[\|X\|^2] - \|\mathbb{E}[X]\|^2,$$
where $\|x\|$ is the $L_2$ norm of the vector $x$: i.e., $\... |
Suppose $x_t$ is a non-stationary time series and $v_t$ is white noise. $$x_t = \Sigma{v_t}$$
set.seed(123)
x <- cumsum(rnorm(100,10,10))
Also suppose $y_t$ is co-integrated with $x_t$. Where $x_t$ is integrated of order 1 and $\epsilon_t$ fulfills all the classic OLS assumptions. $$y_t = \beta_0 + \beta_1x_t + \epsil... |
When two variables are non-stationary, there is a very high probability that they are strongly correlated to each other. For example, $x_t$ and $y_t$ were generated independently and randomly using different seed values. $$x_t = x_{t-1} + \epsilon_t$$ $$y_t = y_{t-1} + u_t$$
set.seed(123)
x <- cumsum(rnorm(100,10,10))
... |
Now I am doing SVM to classify observation from Microarray Dataset and the result is accuracy. I use stratified 10-fold cross validation and run those program on R (I use my own script because caret Package cannot work on my R)
Here I have some questions, 1. Why the result of accuracy is mostly different in each run?, ... |
I'm going through Schumacker's Learning Statistics Using R. I've come across something that's not making too much sense to me, so I'm wondering if this is a mistake or if I'm just really thick.
On page 46, the textbook reads
If the dice are unbiased , 36 outcomes are possible (6 x 6). Each outcome (S) is a sum of th... |
I have two hypothetical examples I would love help with:
1) Let's assume you're analyzing the relationship between 10000 high school students' graduation outcome (Y/N; binary) with the letter grades (A-F; ordinal) from each subject (categorical label) they took. Not all students were required to take the same classes, ... |
In my paper I have a number of t-tests. I am thinking of representing some graphically. What is the best way of doing that in R?
|
I am trying to to get an intuitive understanding and feel for the difference and practical difference between the term consistent and asymptotically unbiased. I know their mathematical/statistical definitions, but I'm looking for something intuitive. To me, looking at their individual definitions, they almost seem to... |
I have a dataset of 892 subjects 357 of whom had an operation and 535 who didn't. I'm planning on doing a follow up investigation of their current status but I can only do this for 300 of them in total. I know that age and sex influence this particular outcome and so want to limit the variation in these 2 variables bet... |
I have two independent distributions (Distr-1 and Distr-2) these distributions represent service times of two systems and sampled at run time. Basically, I have two servers in a chain, one after another, application's requests go through server 1 and then through server 2. Each server maintains its own distribution of ... |
I am carrying out a simulation study using the cumulative distribution function $$ F(x)=\frac{4x\arctan\frac{x}{a}}{a^2(π-2)}$$
Now I need to get x subject in order to carry out the simulation study. I think I need to use some kind of numerical method but not sure exactly how to go about it. Any ideas?
|
Is it valid to do a k-fold CV in the outer loop of a nested CV but use the holdout method in the inner loop to avoid computational complexity?
My guess is that one could leave one of the k sets out in the inner CV loop so that he could run a k-1 cross validation on the sets left where each fold would have a different ... |
I have one continuous dependent, one categorical independent and one continuous covariate. I want to see the relationship between these variable for men and women separately. Now I was wondering do I need to do the ANCOVA analysis for men and women separately? Or do I need to bring sex as a second covariate into ANCOVA... |
I have some what complex minimization problem, where the objective function is of the form,
$$
\lambda\sum\limits_{i=1}^m\|X_i\|_2 + \nu\|X\|_1 + \frac{\rho}{2}\|XP+Y\|^2_F
$$
In the above, $P$ is a double stochastic matrix, $m$ is the number of columns of $X$, and $X$ is a symmetric matrix.
I found many papers discuss... |
I'm estimating a first-difference panel data model with data on the regional level (~125 regions). All regions are part of a country (~12 countries).
It seems intuitive to cluster the standard errors, but I am not sure how to decide on clustering on the country level versus the regional level. What would be a good way ... |
Is it possible to obtain a consistent OLS estimator of an AR-parameter, given that the true process is an ARMA(1,1)? - It is purely a theoretical question regarding whether the AR-parameter is consistently estimated in the presence of moving average processes.
|
There is a realization $(\xi_1(\omega), \xi_2(\omega), \ldots
\xi_n(\omega))$ of a random vector
$$
\boldsymbol{\xi}=(\xi_1, \xi_2, \ldots, \xi_n).
$$
I'd like to check the following: is it true that all random variables $\xi_1, \xi_2, \ldots, \xi_n$ are normally (or at least approximately normally) distributed? ... |
I want to determine the distribution from the EMFIT QS sleep data which gives only min, max and mean values for sleep clasess in R, in order to estimate quartiles.
Types of sleep waves in the signal in Fig. 1.
I know the thread answer Finding Quartiles in R.
Fig. 1 types of possible sleep waves (source Guyton Physio... |
So i have an exam and for the long answer bit there are 6 possible questions topics that will come up. the paper will only have 3 questions on it and im only expected to answer 1 of them, i know if i revise 4 of them then atleast 1 of them will definaly come up, but im feeling lazy, if i only revise 2 or 3 of the topic... |
I have just learned about the concept of bootstrapping, and a naive question came to mind: If we can always generate numerous bootstrap samples of our data, why bother to obtain more "real" data at all?
I do think I have an explanation, please tell me if I'm correct: I think the bootstrapping process reduces variance,... |
In a given (longitudinal) dataset, each Ss has been measured four times (= wave) on a depression survey (= cesd). We tested the fit of each successive model, using only level-1 predictors (wave, rses (self-esteem), resp (parental support) & sex) with a LogLikelihood Ratio Test (LRT).
I am assuming that we start with l... |
I have a data set for customers with some columns like sign-up-date, address-added-date, credit-card-added-date and order-placed-date. Only a portion of signup customers added address, a portion of them added credit card information, and at the end most of them do not place orders. So most of the cells in this data set... |
I have some experience with building classification models in R but it's my first time with Python's sklearn.
So the the problem is: when fitting logistic regression model in R, I have immediate access to predicted class probabilities (model$fitted.values), so I can set my threshold (different than 0.5) in order to max... |
What is the difference between principal component analyses (PCA) and principal axis factoring (PAF)?
Also, I understand the difference between varimax and oblimin rotations, but is that the same as orthogonal and oblique?
|
I learnt that if we perform regression after normalizing/standardizing the numerical input variables the coefficients give the relative importance. What if we have both categorical factors and numerical variables as inputs.
For example - If we predict marks_in_exam from gender,iq_score,attendance
how can we find the r... |
I am trying to come up with a statistical model for my categorical dataset which consists of 3 categories (YES, NO, NoChange) taken across 7 different time points from 5 different locations. I have two exclusive groups (treatement1 and treatement2).
I am interested in seeing whether the proportion of YES, NO, and No... |
I have done several univariate regressions with investor sentiment as independent variable (identical across regressions) and different sector portfolio returns as dependent variable.
Can I infer that the effect sizes are larger/smaller by just looking at the regression coefficients or do I have to perform tests to eva... |
I have two quantities $d_1,d_2$ (for example they can be dissimilarity measures) and I want to test the following hypothesis
When $d_1$ is small, so is $d_2$.
(So the relation between the two is not symmetric). Is there any correlation coefficient or significant test that can validate this hypothesis?
|
Why does including latitude and longitude in a GAM account for spatial autocorrelation?
This thread is about how applying a smoother to longitude and latitude is a respectable method to deal with spatial autocorrelation.
I have an old-school professor who thinks this is nonsense, and that the only viable way is to mode... |
I am trying to work out under what circumstances you would use the response type in the survreg.predict function in r. I have read an excellent response by
Terry Therneau, author of the survival package, that stated:
The survreg routine assumes that log(y) ~ covariates + error. For a log-normal distribution the error ... |
I read in some paper that convergence in probability implies the convergence in quadratic mean if all moments of higher order exists, but I don't know how to prove it. Can someone please provide the proof?
|
In stat courses the concept of observational unit is fundamental. When sampling from a population, each element in the sample is called an observational unit (sometimes referred to as an individual). So a sample of size 10 contains 10 observational units (even it the sampling is done with replacement). Each observation... |
I am fitting a linear model with one dependent variable and 5 independent variables. All variables are continuous. The residual plot (plot of residuals vs. predicted values) appears to have a decreasing trend. See the plot attached. Someone told me this means a non-linear relationship between the DV and the IVs. But I ... |
In the book Introduction to Statistical Learning , Cp is introduced as a statistic to chose an optimal model for a linear regression setting(Page 211), Cp which is given by
it is given that if is the unbiased estimator of (ie. the variance of irreducible error) then it is given that the above statistic is an unbiase... |
I am currently learning how to implement CFA and invariance of constructs between two groups. My data below has two groups. So my steps are as follows
Confirm the overall model works
Check if both groups have a high enough CFIto perform invariance testing
Perform invariance testing (Configural, Metric, Scalar etc)
I ... |
The question gives the following model:
$ln(h_i$)=α+$β_1$$ln(I_i$)+$β_2$$D_{2i}$+$β_3$$D_{3i}$+$β_4$$U_i$+$η_i$
This is cross-sectional data 2008-2010 for 5028 individuals living in the UK. h = happiness, I = income, $D_{2i}$ = 1 if year is 2009, $D_{3i}$ if year is 2010 and U is the UK unemployment rate.
The first que... |
I guess the common rule of thumb when choosing between CNN vs. DNN is if it has to do with images choose CNN and data points for DNN.
But what if input images are pretty small.. in my case (33,45,3) or (33,15,3), or flatten to 4455 or 1485 datapoints. .
When considering each as pixel as a datapoint I don't see that ... |
At first, this question is less about programming itself but about some logic behind the CNN architecture. I do understand how every layer works but my only question is: Does is make sense to separate the ReLU and Convolution-Layer? I mean, can a ConvLayer exist and work and update its weights by using backpropagation ... |
I have 3 groups: A,B,C. Each group presents only the number of observations for different condition. That means that group A=100, group B=80, group c=75. I want to check if the difference between the groups is significant - is it T-TEST to check it?
Thanks a lot!
|
It is given in the book Machine Learning A probabilistic Perspective, but i am not able to understand it. Can some one provide an explanation for that ?
I am not clear with the way sub gradient is defined and how is it helping in the optimization .
|
i am looking at a simple psychological construct defined by two Subscales A and B. My supervisor told me to estimate the latent means of A and B.
Looking on cross validated i found a similar question: providing mean, sd, and correlations in sem
.However the answer belongs to MPlus and i don´t know if i can simply trans... |
I try to figure out how to deal with my forecasting problem and I am not sure if my understanding is right in this field, so it would be really nice if someone can help me. First of all, my goal is to forecast a time series with regression. Instead of using ARIMA model or other heuristic models I want to focus on machi... |
After predicting the probability of success for each datapoint in a logistic regression model i would like to run a simulation to simulate the number of succeeded iterations.
Im not trying to do something super advanced so my first thought was to maybe iterade through each predicted probability and simulate a value bet... |
I am trying to investigate using principal component analysis whether it is possible to guess with good confidence from which population ("Aurignacian" or "Gravettian") a new datapoint came from. A datapoint is described by 28 variables, most of which are relative frequencies of archaeological artefacts. The remaining ... |
I am currently starting my machine learning project on binary classification and I have been taught that input data features should be in a distribution (although the distribution type itself need not to be determined), which arises questions to me
Is it true?
If it is true, why does the input features have to be in a... |
We know from simulation that if you want to generate a sequence of independent identically distributed (i.i.d.) $[0,1]$ uniform random variables, there is a deterministic algorithm denoted by $\mathcal{A}$ to do that such that the sequence generated by this algorithm will pass many statistical tests and hence "looks" l... |
The best line fit can be found analytically by the least squares method. So can we say that linear regression (least squares) has an optimizer?
For example, for logistic regression I can use an optimizer, gradient descent. But for linear regression, where the best model parameters can be found analytically, does it mak... |
I am trying to show that $E_\hat{F}(\hat{se}^2_B) = \hat{se}_\infty^2$. $B$ is the number of bootstrap replications. $\hat{se}_\infty^2$ is the ideal bootstrap variance. $\hat{se}_B=\{\sum_{b=1}^B[\hat{\theta}^*(b)-\hat{\theta}^*(\cdot)]^2/(B-1)\}^{\frac{1}{2}}$ where $\hat{\theta}^*(\cdot)=\sum_{b=1}^B \hat{\theta}^*(... |
I have seen PCA being used to eliminate variables for dimensionality reduction, but LASSO's ability to eliminate variables for the very same purpose is often described as a disadvantage.
My intuition is that in PCA we still retain some of the information in the reduced dimensions as the newly formed features are linear... |
When I use GAM, it gives me residual DF is $26.6$ (last line in the code). What does that mean? Going beyond GAM example, In general, can the number of degrees of freedom be a non-integer number?
> library(gam)
> summary(gam(mpg~lo(wt),data=mtcars))
Call: gam(formula = mpg ~ lo(wt), data = mtcars)
Deviance Residuals:... |
The sample variance $S^2$ is an unbiased estimator of the variance $\sigma^2$ of a random variable $X$, and is generally used for this purpose, I believe. But if we assume that $X$ has a Poisson distribution, it seems natural to use the sample mean $\bar{X}$, as $\sigma^2=\lambda=E(X)$. What is the best estimator in th... |
I am analyzing data from a cluster randomized cross over trial. There are 9 clusters and 3 periods in the data. The clusters are dental clinics and in each period different patients are sampled. I have three interventions (control, treatment1, treatment2).
Each cluster receives all three interventions but in random ord... |
I am an undergraduate economics student and I am familiar with difference-in-difference estimators: For example, to evaluate the effect of a policy change, measure the outcome of interest before and after the policy change took place both in the treatment and control group, and then compare the difference in the change... |
I have a data set of $200$ observations of $10,000$ features. I want to use this data to make numeric predictions of a target variable $y$. Will trees, in particular XGBoost, be useful here? I feel like the extremely fat nature of this data might cause problems but I'm not very familiar with trees and not sure what tho... |
In the context of statistical inference and machine learning, bootstrapping is used to indicate sampling with replacement (e.g. in the context of Random Forest or calculating population standard deviation etc.)
Is there a word for sampling without replacement? Dropout is used specifically for neural networks for neuro... |
I want to estimate the KL divergence between two continuous distributions $f$ and $g$. However, I can't write down the density for either $f$ or $g$. I can sample from both $f$ and $g$ via some method (for example, Markov chain Monte Carlo).
The KL divergence from $f$ to $g$ is defined like this:
$$\operatorname{D_{\ma... |
I am trying to organize regression methods so I know better in which branches to specialize. This is what I have so far and I need your help. First I divide based on the number of input and output variables, and then I divide in linear and non-linear.
Then for each of these four branches, I divide in two branches, lin... |
In the following links : Full Covariance Gaussians, Diagonal Covariance Gaussians, Spherical Covariance Gaussians, the number of parameters is specified as $D + \frac{D(D+1)}{2}$, $2D$, $D+1$ respectively, where $D$ = # dimensions.
How do you arrive at those formulas for the number of parameters?
Thank you!
|
How would you explain in easy-to-understand language what the difference is between the within, between and overall R-squared of a Random Effects panel data model? How are those values to be interpreted?
|
I would know what are the best predictive model to forecast consumption data with R or Python, I have got data from one month (each day and each 15 minutes) and i have to forecast data for tomorrow for each 15 minutes (00h00, 00h15,...,23h45).
Thank You
Edit :
X1 : Names of region
X2 : Date (01/01/2017,...,Today)
X3 : ... |
I've got this values for my model selection using the sqrt transformation on my dependent variable:
tbest<-
lm(sqrt(betplasm)~age+sex+betadiet+vituse+calories+quetelet+fiber+smokstat)
summary(tbest)
Call:
lm(formula = sqrt(betplasm) ~ age + sex + betadiet + vituse +
calories + quetelet + fiber + smokstat)
R... |
Is it possible to transform a document into a latent semantic space calculated with SVD without recomputing the SVD, or even doing a rank one update? I don't care about updating the $U$, $\Sigma$, or $V$ matrices, but I am interested in being able to calculate document similarity for an unseen document.
My linear algeb... |
I have a data set which includes several variables such as ID, x1,x2,x3,x4,x5,y1,y2,y3,y4 and was collected over ten years. We asked people several questions regarding their health conditions, and then we took their blood and checked the value of y1,y2,y3,y4. So the data set could include the information of a subject (... |
I'm trying to get into Bayesian model estimation (I'm interested in posterior parameter distributions). I could get away with Metropolis-Hastings and Gibbs Sampling for models with few parameters (< 10), but when parameter dimensionality is extremely high (for example, > 100), the algorithms never converge. I'm stuck w... |
My lab uses what our PI calls "modified Bland–Altman plots" to analyze regression quality. I'd like to know what the generally used name is for these plots.
A Bland–Altman plot compares the difference between two measures to their average. The "modification" is that the x-axis is, instead of the average, the ground tru... |
For games where $K$ players on team 1 compete against $K$ players on team 2, and we assume that the outcome is solely dependent on who is playing against whom, the simplest method of prediction I know of is logistic regression with a feature vector $x$, where $x$ has $N$ elements for each of the $N$ players, and
$$x_i... |
Before fitting an ARIMA model, we found the trend of the ts is clearly nonlinear, so we remove the trend by subtracting the moving average (calculated by moving a sliding window over the ts and compute the mean of the numbers in the window) from the original data, after which the ts becomes stationary. But, how should ... |
For my Monte Carlo simulation (job related) I needed to generate random numbers with conditional probability of related distribution. (example: given that an item has been working for 1200 hours, generating a proper random failure time related to its time-to-failure distribution.)
I searched the web and couldn't find a... |
Consider the following polar algorithm described by Bailey:
Generate uniformly distributed variables $U, V$ in $(-1,1)$.
Let $W = U^2 + V^2$. If $W > 1$ go to step 1. Otherwise deliver $W$.
Now $C^2 = U^2/W$, and it is true, that:
$W$ and $C^2$ are independent
$W$ is uniformly distributed in $(0,1)$
$C^2$ has the s... |
Suppose I have a no intercept regression model such as
$Y = \beta x + \epsilon$ where $x$ is univariate and so is $y$.
I want to test the null hypothesis that $\beta = -1.0$.
So, I calculate the sse of the model assuming that $\beta = -1.0$ and call that $sseA$.
Then I estimate the model and call that modelB and get a... |
For perceptron algorithm, the output and target values are either $0$ or $1$.
Assume output is $y$ and target is $d$.
From http://lcn.epfl.ch/tutorial/english/perceptron/html/learning.html, we can see that the learning / adjustment of the weights are like$$w_j(t+1)=w_j(t)+\eta(d-y)x$$
But if $d$ and $y$ are either $0$... |
I have data on person level and want to impute rent. The rent for the members of a household should be the same for all members of the household. If I do a normal imputation based on the person level data, the imputed values differ within one household.
Question: How could I impute the same values within each househol... |
I modeled a directional prediction of a time series. In every step, I predict next direction of that series (up or down). Currently I have a lag in predicted outputs compared to real outputs.
For example, in above outputs, first figure is real direction and second figure is predicted direction (red star: next up trend... |
I have two groups of observations, each observation can belong to positive or negative case. For each group I calculate percentage of positive cases.
I want to check whether difference of positives percentage between the groups is statistically significant.
The pitfall is that second group is subset of the first one =>... |
I was asked to convert a series of values into a series of percentiles corresponding to these values with respect to the empirical cdf constituted by the initial series.
Using R, I wrote:
toPercTS <- function(aSeries){
ECDF <- ecdf(aSeries)
percTS <- c()
for (i in 1:length(aSeries)){
percTS[i] <- ECDF(aSerie... |
I would like to fit a model to a dependent variable distributed like the one below (see picture).
The distribution is a count of people (with specific characteristics) in various districts. This means that, there are no negative numbers; in the great majority of districts the variable is 0, but there also exists very ... |
I am working on a leaf infection dataset with three groups; wildtype, transgene line 1 and transgene line 2. The infection data i am looking at is coded as a binary variable (1 if the infection was successful, 0 if the infection failed). For every group there are 24 binary datapoints.
head(data)
infection groups
... |
I do a user test and the user haves to rank lists. The user will answer around 14 question. For each question they get 4 answers and they haves to order them from good to bad answers. The 4 answers come from two categories (categorie A and B). There are always two answers from A and two answers from B. So for example a... |
Are there any online learning algorithm that do not depend on the order of arrival of the data ?
I am looking for algorithms that, given a sequence of data $(x_i,y_i)_{i\in[1,n]}$ :
Will produce the same result as they would after the last step of training on a permutation of the training set $(x_{\sigma(i)},y_{\sigm... |
I have a corpus {text1, text2, text3, text4, ..., etc.}. I have no prior knowledge about the text. Lets say we extract all the n-grams (unigrams, bigrams, trigrams, 4-gram, 5-gram, ...) along with their frequency from the text.
My question is how can we merge the best N n-grams form the unigrams, bigrams, trigrams, 4-... |
I have estimated a multinominal logit model & now I have been asked to test for joint significance of two variables using the Likelihood ratio test. I just wanted to ask why & how would you do this? I thought that the Wald test would have been more appropriate? In previous subjects I used the LR test by estimating a re... |
I'm testing the clara algorithm with a dataset, but as we can see in the figure:
I got the message "These two components explain 1.06% of the point variability"
What can I conclude about this? The image splits with a good accuraccy
a b
1 150 0
2 0 50
But that message makes me confuse if I have some ... |
I want to know the inner workings of matchbox algorithm of azure in simple language when you have user and item features available.
|
I asked this question here on SO but didn't get any answer, so I am posting it here as I believe second part of original question fits CrossValidated more.
So, as original question states, I am trying to create generative LSTM which I will train on series of musical notes. Each vector is 88-dimensional (there are 88 ke... |
Consider an uniformly distributed variable $U$ in $(0,2\pi)$. My impression is that $\cos(U)$ have the same distribution as $\sin(U)$.
Is my assumption correct?
|
What is the right way to pick the best model when you are running multiple models?
I should do variable selection first to find the best subset of variables in each model and then use some model comparison criteria
or
I should use a model comparison criteria first and then do variable selection just in the best one
I'... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.