instruction stringlengths 9 38.7k |
|---|
I am working on the following problem:
Given a list of words $W$ and non-words $NW$, I would like to have a classifier telling me whether a new word $w$ is a Word or not (i.e. $W(w)$ or NonWord $NW(w)$). I calculate 2,3,4 grams for all words in $W$ and $NW$. As a feature, I want to calculate the distance for each word ... |
I was playing around with R built-in library mtcars and don't quite understand why I get following results.
attach(mtcars)
cor(mtcars[, 1:7])
mpg cyl disp hp drat wt qsec
mpg 1.0000000 -0.8521620 -0.8475514 -0.7761684 0.68117191 -0.8676594 0.41868403
cyl -0.8... |
At time $t-1$ I have a matrix of design variables $X_{t-1}$ and a binary outcome vector $Y_{t-1}$. Using logistic regression, I obtain the model:
$$\hat{p}_{t-1}(y|x)$$
plugging new data $X_t$ gives me an estimate of $\hat{Y}_t$. So far, so good.
Now at time $t$, after computing $\hat{Y}_t$, I also receive the true val... |
I want to understand this concept a little better, I'll give a reduced example of the problem I'm having and would appreciate a more intuitive answer (my statistics background is largely self taught so I'm missing a lot of vocabulary).
Lets say we have a board and have thrown stones onto it. The board is divided up in... |
Let's say I have a dataset containing sexual relationships that occurred over a 3 year period for many individuals. We know the start and ending dates for all the relationships that were ongoing during that time. Now let's say we want to conduct a survival analysis to see how the hazard of developing HPV is affected by... |
I am performing emotion detection on speech samples. I extract say features (energy, pitch, etc) from the speech files and then try to classify the files by performing LDA and using Matlab's ClassificationDiscriminant.fit() function.
I measure accuracy by 10-fold cross validation, and I have 6 emotions samples, each ha... |
I have the following data available with me.
DayOfWeek | #fruitsSold(in kilos)
Monday | 25
Tuesday | 32
Wednesday | 18
Thursday | 31
Friday | 30
Saturday | 55
Sunday | 48
Monday | 20
Tuesday | 35
Wednesday | 15
Thursday | 26
Friday | 50
Saturday | 34
Sunday | 15... |
In a Bayesian approach, when I have no previous idea about the likelihood of a given event, can I simply gather a lot of data and use that distribution as my likelihood (1) and as I gather more and more data I keep updating that likelihood? (2)
Example: Let's say I want to estimate if it is going to rain in the afterno... |
I have designed item-based recommendation engine with jaccard similarity measure and I incorporated time as well. See the example below:
prod | PR4 | PR5 | time
-------------------------
PR1 | 0.30 | 0.60 | 1
-------------------------
PR2 | 0.60 | 0.50 | 0.3
-------------------------
dot | 0.48 | 0.45 | -
On the... |
I am confused about the applicability of linear multi-levels models (also called hierarchical linear models or mixed-effect models) on data with multiple levels. At first, I thought they are made for each other but after trying to use a multi-level model on my own data I got very confused.
By multi-level data I mean t... |
I have two samples (both n > 1000) taken from the same population. The first sample is taken in one year, say at t0, and the the other sample is taken a year after, say at t1. There are different people in the different samples, i.e. I do not have two measurements from the same person at t0 and t1. How do I test whethe... |
Okay, so I have simultaneously fitted 6 sets of data, with the same slope and different offsets:
def poly(x_, a, b, c1, c2, c3, c4, c5, c6):
#all this is just to split x_data into the original parts of x
l= len(x[0])
l1= len(x[1])
l2= len(x[2])
l3= len(x[3])
l4= len(x[4])
l5= len(x[5])
s... |
The model given just looks like a time series panel data with added controls but then I noticed that there was only one constant (so not a Fixed Effects Model) and but the error term changes between restaurant indicitating that it maybe a Random Effects Model.
$$y_{it}= \beta_0 +\text{Grading_Post}_{it}'\beta _1 +X_1'\... |
I have a dataset with sequence tuples and targets like the following:
input_0 input_1 input_2 output
0 0 1.0 2.0 4.0
1 1 2.0 4.0 2.0
2 2 4.0 2.0 4.0
3 4 2.0 4.0 7.0
4 2 4.0 7.0 8.0
I have trained algorithms... |
I was looking at logistic regression and softmax regression.
Based on this formula,
$P(y=j|\mathbf {x} )={\frac {e^{\mathbf {x} ^{\mathsf {T}}\mathbf {w} _{j}}}{\sum _{k=1}^{K}e^{\mathbf {x} ^{\mathsf {T}}\mathbf {w} _{k}}}}$
How does $k=2$ make it logistic regression? I cannot seem to derive this to this
$\sigma (t)=... |
Suppose there are $I$ people; half are male, half are female. We have measurements $y_{it}$ for individual $i$ at time $t \in \{0,1\}$, so there are two measurements per person, which are correlated.
Suppose the data are generated by the model
$$y_{it} = \beta_1+\beta_2 x_i + \epsilon_{it},$$
where $x_i \in \{0,1\}$ i... |
Situation:
Let's say you're running a genetic algorithm to improve the way people are interacting with an online service. The alleles in each individual determine the exact behaviour of the service, the fitness of each individual is a measure of how well the interaction of users with the service configured using that i... |
Is there an alternative for the three way anova in the case that the assumptions of the three way anova are not met?
(So I am looking for a non-parametric test with three factors)
|
This question is asked from the perspective of finding out if there's a more efficient way for an LSTM to act more as a regression entity rather than just assigning only probabilities to the next character.
In general a seq2seq LSTM char generator will act mainly as such:
C H A P T -> E
H A P T E -> R
That's great. Wh... |
I am trying to calculate the random effect predictions from a linear mixed model by hand, and
using notation provided by Wood in Generalized Additive Models: an introduction with R (pg 294 / pg 307 of pdf),
I am getting confused over what each parameters represents.
Below is a summary from Wood.
Define a linear mixed ... |
Let $a,c,d,e$ be given real parameters. I would like to solve the equation
$$\int_a^{c+x} \left(d+x-y\right)f(y)dy=e$$for $x$ (using Matlab). $f$ is a density function (for the beginning it can be a normal density). Can anyone point towards the general strategy to solve this and some useful commands? I thought of using... |
... Another potential problem with applying 2SLS and other IV procedures
is that the 2SLS standard errors have a tendency to be ‘‘large.’’ What
is typically meant by this statement is either that 2SLS coefficients
are statistically insignificant or that the 2SLS standard errors are
much larger than the OLS sta... |
I'm using sparse in a specific (but perhaps incorrect) way. Shown below is a time series of prices
2016-05-18 0.9118613142872591
2016-05-19 0.8921613140413168
2016-05-20 0.8848059412022842
2016-05-26 0.8755275321301189
2016-05-27 0.8805152228524439
2016-06-23 0.9245819516881806
2016-06-24 0.9110491341479788
2... |
I trained a different number of classifiers on a problem (logistic regression, KNN, neural networks, svm...). The training happened with double cross validation and all the gold standards, so I'm pretty confident they are good classifiers, in the sense that they do not overfit. If I examine the confusion matrix each on... |
As we all know, depending solely on R squared to determine goodness of fit is faulty because the R squared value will always increase when more predictors are added, regardless of their physical correlation. With this in mind, many people recommend using the adjusted R squared value, especially if the equation will be ... |
I want to calculate the sample size required to detect a 50% change in the probability of an binary outcome.
The base probability is .2. A 50% increase would go from .2 to .3. A 50% decrease would go from .2 to .1.
In this example, assuming a normal distribution, it should be easier to detect an increase compared to ... |
So I have this huge dataframe with metabolomics data, meaning concentrations of 1030 metabolites, and other parameters like sex and age. Some of my data are from people with a particular disease (coded as 1), and control cases (0); and the final objective is to know if there is a correlation between any metabolites and... |
I have the following regression:
$$\ln(1 + \text{hours}) = \beta_0 + \beta_1 \text{ educ} + \beta_{2-x} \text{ other independent variables} + \varepsilon$$
$\beta_2$ for educ is $0.0642$. How would one interpret this coefficient?
|
theDate <- as.Date(end.date)
forec <- NULL
while (as.Date(theDate) < as.Date(end.date2)){
data <- tsales[paste(start.date,theDate,sep="::")]
fit <- auto.arima(data,xreg=na.omit(xreg[paste(start.date,theDate,sep="::")])*1)
fc <- forecast(fit, h=1,xreg=(xreg[theDate])*1)$mean
forec <- c(forec,fc)
theDate <- as.... |
I am sorry, if you can suggest a better title please do ...
Here is the problem. Assume I have variables $X_i$ ($i = 1,\dots,n$) with mean $\mu_i \ge 0$ and variance $\sigma_i^2$. I want to test the null hypothesis $H_0$ : $\mu_1 = \dots = \mu_n = 0$ vs the general alternative "for some $i$, $\mu_i > 0$".
It is natural... |
Let's say I have a model that gives me projected values. I calculate RMSE of those values. And then the standard deviation of the actual values.
Does it make any sense to compare those two values (variances)? What I think is, if RMSE and standard deviation is similar/same then my model's error/variance is the same... |
For Wilcoxon test, I have p=0.000. I also did the Kendall's test to test the correlation, and I have Tb=0.366. I don't get it, if there is a significant difference, why there is a moderate agreement?
|
I am familiar with the calculation of likelihood/evidence ratios (ER) using Akaike's Information Criterion (AIC) and its corrected version (AICc):
ER = $\frac{1}{e^{-0.5*ΔAIC}}$
Is it possible to use a relative likelihood/evidence ratio for information criteria other than AIC?
I would like to compare the relative lik... |
Assume having several numerical, multidimensional time-series. As preprocessing of further Analysis, I firstly check for relevance and then for redundany of all dimensions/Features.
1) Check for relevance:
I will exclude all dimensions with a variance of 0 over the whole dataset - since this specific Dimension does no... |
I understand that the formula for probability of convergence is $P[|X_n − X_\infty| \gt \epsilon ]\to 0$ and I can solve problems using the formula. Can anyone explain it intuitively (like I am a five year old), particularly in regards to what $\epsilon$ is?
|
Is there any paper or blog that discuss the effect of the dimensionality of embedding layers? The Embedding layers can be used in deep learning models, like CNN or LSTM.
|
I have following question:
When running the ccf command in R, I retrieve results for the cross-correlation of two time series. The data is monthly data, 54 observations, i.e. 5 years. Though the time series are stationary, I assume it's wrong to make a "normal" corr() analysis.
The Autocorrelation results of ccf (ACF) ... |
Problem (concrete version): Let $p = p(T, \mathcal{D}, \mathbf{X})$ be the $p$-value associated with goodness-of-fit test $T$ (i.e. Kolmogorov-Smirnov, Anderson-Darling, Cramér–von Mises) on distribution $\mathcal{D}$ (i.e. normal, beta, gamma) with sample points $\mathbf{X} = (X_1, \cdots, X_n)$. Suppose we know $T, \... |
This might be a stupid question but why is it that when we try to solve:
$$ \min_{f \in \mathcal H} \frac{1}{n} \sum^n_{i=1} L(f(x_i),y_i) + \lambda \|f \|^2_{\mathcal H}$$
in a RKHS (Reproducing Kernel Hilbert space) that the penalty is equivalently expressed as:
$$ \|f \|^2_{\mathcal H} = \langle c , Kc \rangle_{R^n}... |
I have a data set in which the variable I'd like to use as a random effect only has a single observation for some levels. Based on the answers to previous questions, I've gathered that, in principle, this can be fine.
Can I fit a mixed model with subjects that only have 1 observation?
Random intercepts model - one mea... |
The OLS estimator with one regressor is defined as $\widehat{\beta}_1 = COV(X,Y)/VAR(X)$. It can be interpreted as the marginal effect of $X$ on $Y$. My question: I don't understand intuitively, why I get the marginal effect if I divide $COV(X,Y)$ by $VAR(X)$. Can you provide some intuition?
|
Despite the resembling and other increasing data variability approaches, can the random forest "as an algorithm" be considered a good option for the unbalanced data classification?
|
Support vector machine (SVM) is a supervised learning algorithm. It draws hyperplanes to separate data points of different classes. The objective function involves inner products of pairs of feature vectors. The inner product can be replaced by a non-negative function $K(x,y)\ge0$ symmetric in its two variables $x$, $y... |
I have a very basic question, consider the following:
While learning to predict y from x, we are learning the joint distribution p(x,y). Now consider an estimation problem: suppose x follows a Gaussian distribution with unknown mu and known standard deviation, and mu follows a Poisson distribution with known parameters... |
How do we check for multicollinearity between categorical variables? Does multicollinearity between categorical variables make the logistic regression model unstable?
|
I am predicting values with 3 features with responses like this:
A close to linear predictor
A feature thats only predictive beyond a threshold
A feature with non-linear response like this
What machine learning algo would be suitable to combine these features to construct a composite predicative feature? I car... |
I want to measure the value of a client based on the average project fee and average length of the project in days. We combined the two to create a Revenue/Day metric - it's inelegant but works well enough for our purposes.
I want to determine the Average Revenue/Day for all projects with a specific client, but I am un... |
I implement the same markov logic network in two different ways using the Alchemy2 software. They should yield to the same result smoking-out.mln and smoking.result, but that's not the case. Why?
I use an example from the Alchemy tutorial.
First way:
smoking-train.db:
Friends(Anna, Bob)
Friends(Bob, Anna)
Friends(Anna,... |
I have a project which test effectiveness of two factors (two levels, receive and not receive the factor). There are three stage consecutively through time, and the factors are imposed in the second stage. Let's call the first stage baseline period, the second stage short term test, the third stage long term test.
... |
This example is from Stanford's lecture about Language Models. A system has to recognise
An operator ($P=\frac{1}{4}$)
Sales ($P=\frac{1}{4}$)
Technical Support ($P=\frac{1}{4}$)
30000 Names ($P=\frac{1}{120,000}$)
The answer is given as 53. However, when I calculate it, it turns out to be around 56. This is how I di... |
The probability of event $A$ happening at least once is $1 - P(\bar{A})$… where $\bar{A}$ means "not $A$". But what is the probability of $A$ happening at least twice? I am new in statistics, and don't understand the basics.
|
I'm doing an ordinal regression (cumulative logit model), with a 4-point, self-report health assessment measure as my outcome.
My sample size is 8,070, and so far the model has 15 predictors: 8 binary/categorical and 7 continuous.
A few of the continuous variables however are scores (e.g. psychosocial risk & resilienc... |
Traditionally, singular value decomposition (SVD) can be used to learn latent feature of user and items according to user-item rating matrix.
Recently, researchers use embedding layers as the input layer of a deep neural network to learn latent representation of entities, like users or items.
What is the difference bet... |
Among other parameters, I examined the effect of the factor $Q$ on the response variable $Y$. I found a linear model with $R^2$ and adjusted $R^2$ being around $0.95$. The $F$ statistic of the overall model is significant at $0.01$ level. The coefficient, $\beta_Q$ for $Q$ is also significant. For this question what ma... |
Denoising Autoencoders (DAE) works by inducing some noise in the input vector and then transforming it into the hidden layer, while trying to reconstruct the original vector. However, I fail to understand the intuition of Contractive Autoencoders (CAE).
Does the CAE say that the hidden layer will only learn the featur... |
i am trying to understand how python-glove computes most-similar terms.
Is it using cosine similarity?
Example from python-glove github
https://github.com/maciejkula/glove-python/tree/master/glove
:
I know that from gensim's word2vec, the most_similar method computes similarity using cosine distance.
|
Given a 2D data frame d that is centered and scaled:
d = data.frame(x = c(1,2,3,4,5,6,7,8,9,10), y = c(3,5,6,8,3,9,3,5,7,15))
d = as.data.frame(scale(d,center=TRUE, scale = TRUE))
the correlation matrix and the covariance matrix are the same:
all.equal(cov(d),cor(d)) # this equals TRUE, meaning cov(d) and cor(d) are ... |
I have a function made up of several regression coefficients, for example, let's say it's:
$$y(x) = \beta_1x + \beta_2x^2$$
assuming we have the covariance matrix for $\beta_1$ and $\beta_2$, how can I (if at all) obtain a confidence interval of the function $y(x)$? So for each $x$, what is the 95% CI at that point giv... |
I have sample values coming from two truly random log normal distributions, A and B. They are continuous (analogue voltages actually). They are totally independent of one another, but theoretically identical in all aspects of size and shape. I then repetitively compare sample value A with sample value B, as in
IF ... |
Forgive me for the lack of proper description; it has been many a year since I did any rigorous statistical analysis.
The basic problem I am looking to solve it how do I calculate the duration of an event that is happening seasonally in my data? The data I am working on is road inspections. They are carried out regular... |
I was given the following:
A sample of 16 domestic cars is made whose average fuel economy is 30.313 and a standard deviation of 4.7583.
A sample of 10 imported cars is made whose average fuel economy is 32.012 with a standard deviation of 8.878.
Find a 95% confidence interval for the difference between the two means.
... |
I have a dataset with all zeros and ones. I am doing unsupervised clustering with t-SNE, and I have already seen some structures, which is great. The dataset is on the scale of 10k rows x 1k cols, so not very big. For example, part of it looks like this
c1 c2 c3
0 0 0
0 1 0
1 0 1
1 1 1
Now, I am thinking that ... |
In a GLM we can specify the interaction component. I have an optimization program that has the linear systematic components of a GLM and when a variable changes it gets multiplied by the interaction component and then along with the rest of the covariates get transformed into a probability. This means we do not need to... |
I have data for Airline flights that include both origin and destination (airports). So for example, I have one flight that goes from Chicago to New York:
ORD-JFK; and a flight from New York to Chicago: JFK-ORD. I don't care the direction of the flight, I would like to create an index that tells me that those two flig... |
How do I identify the closed sets?
|
What's name of this symbol for denoting class intervals? How is it input in Latex/MathJax?
|
I'm really having a hard time trying to normalize my data. My study is about green IT product acceptance. There are eight factors, six are 5-point Likert scale (Str.disagree - Str.agree), one is 2-point Yes/No question, and the other one is 3-point scale (Don't know/Maybe/Know). I have 618 returned questionnaires.
I a... |
I need a formula to determine a confidence level for which Price maximizes profit.
I will know total page views, conversions(purchases), the tested prices of the unit, and the cost of each unit.
I am building an A/B tester for testing different prices for a given product. The goal being to determine the price that max... |
I'm playing with within-module z-score (page 68) which is defined as
$$z_i = \frac{k_i - \overline{k}}{SD(k)}$$ where $k_i$ is degree of node $i$ within network module (community). I would like to visualize my network, where diameter of the node will correspond to calculated $z$-score. However, i have no idea how to pr... |
We have $n$ independently geometrically distributed values: $X_{1}, X_{2}, ... $ IID ~ Geom(p)
We also assume that $n$ data values $x_{1}, x_{2},...$ are available.
Now I would like to find the MLE estimate of the square root of the mean.
I worked through the problem and found the MLE of the mean to be $\frac{1}{\bar{ ... |
Let X and Y be independent and identically distributed random variables such that $P(X=0)=P(X=1)=0.5, W=|X-Y| $ and $Z=X+Y$ . Then which statement is not correct?
X and W are independent .
Y and W are independent.
Z and W are uncorrelated .
Z and W are independent.
I think the answer is option 4, but am unable t... |
I'm trying to work with General Adversarial Networks and there's something I'm seeing everywhere but can't explain why...
the GANs are usually constructed from a Generator (which usually generates an image and is connected to the discriminator) and a discriminator (which is responsible for determining if the generated ... |
Let me first say I (think) understand the procedural and topological differences between an autoencoder and the convolutional layer of a network.
A convolutional layer reduces dimensionality by effectively assuming there is valuable localised structure in the input data. To my eye convolutional network layers seem a li... |
Is there any reason to set $p_{ii} = 0$ or $q_{ii} = 0$ instead of 1 in t-SNE?
SNE
$$ C = \sum_i KL(P_i || Q_i) = \sum_i \sum_j p_{i|j} \log \frac{p_{j|i}}{q_{j|i}} $$
Symmetric SNE
$$ C = KL(P_i || Q_i) = \sum_i \sum_j p_{ij} \log \frac{p_{ji}}{q_{ji}} $$
The author of t-SNE, L. var der Maaten said below at t-SNE ... |
I have a data matrix X with entries like so:
$$
\begin{matrix}
x_{11} & x_{12} & \ldots & x_{1p}\\
x_{21} & x_{22} & \ldots & x_{2p}\\
\vdots & \vdots & \ddots & \vdots\\
x_{n1} & x_{n2} &\ldots & x_{np}
\end{matrix}
$$
which I want to use to predict the response variable $(y_{1}, ..., y_{n})^T$ that happe... |
I started using R and applying the vars package in R. According to the documentation, there are the options to select none, constant, trend, or both.
I analyzed my time series and were able to plot the graphs, as shown below. However, some feedback on selecting the appropriate VAR model would be great.
The concept of a... |
can anyone please help me with this question, can't find a satisfactory answer on the stats sites.
A reviewer of one of my articles commented that I should include the DVs in my MCAR analysis. But i only have missings in my IVs.
thanks
|
My guess is that neural networks do not work very well in noisy environments, i.e. the lower the signal-to-noise ratio, the worse the result of a neural network, if compared to other statistical modeling tools. Thus, for example, neural networks are good at predicting credit cards frauds, but they get much less excitin... |
I've read some articles about t-test and figured out that there are a couple of assumptions for t-test to be valid, and one of them is 'random sampling' assumption.
What does this assumption actually mean? What is the exact criteria that distinguishes a 'randomly sampled' variable from those who are not. I want to und... |
In R I have a dataset promotion and another dataset new_users for each hours in a day. dim(promotion)=193 24 and dim(new_users)=193 24
So head(promotion) gives
V1 V2 V3 V4 V5 V6 V7 V8 V9 V10 V11 V12 V13 V14 V15 V16 V17 V18 V19 V20 V21
1 1 2 2 0 0 1 1 5 3 3 3 4 4 4 3 3 2 1 2 6 5
2 ... |
In relation to already posted question:
The difference between the three Augmented Dickey–Fuller test (none,drift, trend)
and specifically to the details given by Graeme Walsh's (https://stats.stackexchange.com/users/24617/graeme-walsh) answer, I still miss something about the use of the embed() function and its way to... |
Is there a way to build a single model (including both fixed and random effects) with numeric and categorical/binary outcomes?
I know that I could do one linear mixed model and one generalized linear mixed model using R, but can I somehow combine these models?
|
I am reading an article on signal processing and I'm not sure of a few things. It defines the covariance function of a signal $y = y(t)$ as
$$\text{cov}(y) = E[y(t)y^\ast(t-k)].$$
And then it says the power spectral density is given by the Fourier transform of this covariance function.
Say we have the covariance funct... |
I want to make a Shewhart chart with a charting statistic that is symmetrical but heavy-tailed (e.g., Cauchy). Does there exist anything like a Z-score with a heteroscedastic variance model? For instance,
\begin{equation}
Z = \frac{x - x_0}{ \sigma(x, \theta)}
\end{equation}
where $\theta$ is a hyperparameter on which ... |
I have data for 131,653 users about how often they do a task, and how much time they take when doing the task. I simply arrange the number of times they do the task in ascending order of the time they take, and make a scatter plot. This is what I get:
I don't understand what to make of this pattern. I have not seen an... |
I've done a bit of reading and I'm more confused than I started. What is the correct way to build a classification (binary) model that doesn't give overly optimistic (or pessimistic) results.
Suppose I have a data set of 7000 samples with around 700-800 features. The classes are about 70/30 biased towards the positive ... |
I am running a simple random-effects meta-analysis in R using the metafor package, with random intercepts at the study level:
mod1 <- rma.mv(Hedges_g, cov, random = ~ 1 | study, data = rev)
This is the model output:
Multivariate Meta-Analysis Model (k = 90; method: REML)
logLik Deviance AIC BIC ... |
I am computing a linear model in R as such
lm(NEP~GPP, data=df)
I provide a small subset of the dataframe below:
df<- structure(list(Site_ID = structure(c(1L, 3L, 3L, 3L, 5L, 5L), .Label = c("AR-Slu",
"AR-Vir", "AU-Tum", "AU-Wac", "BE-Bra", "BE-Jal", "BE-Vie", "BR-Cax",
"BR-Ma2", "BR-Sa1", "BR-Sa3", "BW-Ma1", "CA-... |
I'm confronted with a probability problem that may have already been solved.
I'm considering random sequences of m events.
The number of possible events is n, and each type of event has the same fixed probability of occurrence 1/n.
I would like to know the probability distribution of the number of different events in t... |
What is the expression for the sampling covariance of two sample variances i.e. $\operatorname{Cov}(s_1^2, s_2^2)$. Where $s_1^2=\frac {1}{n-1} \sum(x_i-\bar x )^2$ and $s_2^2=\frac {1}{n-1} \sum(y_i-\bar y )^2$?
|
If we have some time series data that follows ARMA(p=0,q=n), why does the PACF gradually decline?
|
I have recently realized that I can estimate coin fairness, making two observations, either incrementally, through bayesian updating or immediately. I have heard that before but do not see the full picture to understand why does that work, why results are the same either way.
Unfair coin is considered which always give... |
The sample covariance is defined as $\hat{\sigma}_{xy}:=\frac1{n-1} \sum_{i=1}^n (x_i -\bar{x})(y_i-\bar{y})$. What is the intuition for using the correction term $n-1$ instead of $n-2$. Because we have estimated $\bar{x}$ and $\bar{y}$, my intuition is that we lose two degrees of freedom.
|
In the past, I've worked with the MNIST dataset and I am currently working with Java. I do not use any external libraries like numpy (for python) or something like that. I started from scratch and build a feed forward network. I mastered the backpropagation algorithm and managed to get a result of 94%.
Obviously, I wa... |
Right now, I am designing an experiment, a Randomized Controlled Trial, with two treatment groups (T1: Access to Subsidy and No access to borrowing money; T2: No Access to subsidy but access to borrowing money) and one control group (T0: no access to subsidy neither to borrowing money). So I will have three dummies as ... |
I have two probabilistic model, $A$ and $B$.
I am using MLE to estimate the parameters in both models.
Then I run the following 10-fold cross validation.
I randomly chopped the data set into 10 chunks, in each iteration, I use MLE to fit the 2 models on the training data set and get my estimates, so I will have 2 train... |
I've used Nadaraya-Watson Kernel regression before to smooth data. Recently I have run into Gaussian process regression.
Prima facie, they don't seem to be related. But I am wondering if there perhaps is a deeper connection I am not aware of. Is Nadaraya-Watson kernel regression a special case of GPR?
|
I am sorry if this has been asked elsewhere. I could find it when looking.
I am running a quasi-binomial generalised linear model (to correct for overdispersion) weighted by a count of sample size. I have simplified the model using F tests.
model2 <-update(model1,~.-A)
anova(model1,model2,test=”F”)
I now have a mod... |
I am using a model to calculate observed frequencies, which some times gives non-integer values. I can round these frequencies but that seems like artificially distorting the information I have.
For Example:
Example Data
Yes No
Male 11 19
Female 16 17
Assume my model just divi... |
I'm trying to come up with a distribution for how much each separate customer spends at a given time.
For most of these customers (~60%), I have enough datapoints (>1000) such that I can just generate the 100 percentiles based on those datapoints.
However, the other ~40% don't have enough datapoints to generate that di... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.