instruction stringlengths 9 38.7k |
|---|
I have a question regarding variance components I obtained after fitting a mixed linear model with random slope and random intercept using R software.
My model is the following:
$ y_{ij} = β_0 + β_1 time_{ij}+ u_{0j} + u_{1j} time_i + ε_{ij}$
Results from fitting this linear mixed model is:
rs <- lmer(y ~ time + (time... |
In the method described here
http://dmkd.cs.vt.edu/papers/TKDE17.pdf
R code implementation is provided
https://github.com/MLSurvival/ESP/blob/master/ESP_TKDE2016/TKDE_code.R
the Kaplan-Meier estimator is initially estimated from data but then (from line 244) in order to estimate time different distributions are also fi... |
I'm using the lmer() function to run a random (intercept) mixed effect model as follow:
memC1 <- lmer(dev ~ tempW + tempB + sex + ls + (1|id), data = finalInfo)
With finalInfo dataframe as follow:
id ls dev sex weight temp tempW tempB
1 1 L1 0.08025824 M 0.57 13.39693 -0.01433593 13.... |
I have a set of real numbers which I'll call set A. I have a threshold t. I have sets B and C which are constructed in the following ways: B contains every element in A which is greater than t and C contains every element in A which is less than or equal to t. How should I decide the value of t so as to maximize the di... |
I am interested in understanding the relative pros and cons of bootstrap versus jacknife resampling. Both are used in iterative algorithmic approaches to estimating the precision of a prediction or classification but it would appear that there is some bias or preference for use of the bootstrap, at least in the statist... |
Suppose I have a model that predicts the probability of some event (e.g. likelihood of cancer).
For the sick (red) and healthy (green) individuals in a holdout set (not used to train the model), we might see something like the following distribution:
Now, suppose I ask the model for an individual's prediction of proba... |
Here's what I understand, could someone please tell me if I'm wrong, and how?
For a categorical variable $Y$, the expected value $\text{E}(Y)=\mu=\sum_{y}i\cdot\text{P}(Y=i)$. Using the descriptions from the Wikipedia pages for multinomial and order probit models, I derive that in the multinomial case
$$\text{P}(Y=i)=\... |
If $X_n$ is a martingales with $sup E|X_n|^p<\infty$ where $p>1$, How can show that
$$E^p|X_n|\leq E |X_n|^p$$
|
I have questions about whether a colleague's statistical approach is appropriate. They are looking at whether the effects of 9 continuous predictors on a continuous outcome differ between 3 natural / non-assigned groups. All variables are directly measured - no latent variables. They do this by examining multiple group... |
I work in epidemiology on a sample which is stratified, and 2 – level cluster (801 individuals). I use the "survey" package on R for data analysis.
In the sample, the sum of weights is the size of estimated population.
When I calculate prevalence in sample 1 with weights or normalised weights, the results were the same... |
$$f(x, y) = \frac{3}{2\pi} \sqrt{1-x^2-y^2}, \quad x^2 + y^2 \leq 1$$
Find the cdf $F(x, y)$. To do this, we need to compute the integral
$$ \int_{-1}^{x} \int_{-1}^{y} \frac{3}{2\pi} \sqrt{1-u^2-v^2} dv du .$$
This is where I'm stuck. Converting to polar coordinates wouldn't seem to help since the area to be integrat... |
I am a particle physicist, and a very frequent task is: given data sampled from a distribution mixture
$$
Z \sim \sum_i \phi_i F_i,
$$
where $\phi_i$ are the mixture proportion / prior probabilities and $F_i$ are the distributions of the separate components, fit the data to measure the numbers of events from the separa... |
I have a random variable estimated over time by an online algorithm. I have the mean and variance of the random Gaussian variable at every step t. I expect the time series to have sudden shifts. What is the best way to estimate if the my estimated variable has shifted beyond a known threshold using t and t + 1 estimate... |
I have a doubt about how exactly the loss function of a Deep Q-Learning Network is trained. I am using a 2 layer feedforward network with linear output layer and relu hidden layers.
Let's suppose I have 4 possible actions. Thus, the output of my
network for the current state $s_t$ is $Q(s_t) \in \mathbb{R}^4$.
To mak... |
Let $X_n \rightarrow X$ in almost surely convergence. Is this true?
$$|X_n-X|\leq 2|X_n|\quad \text{for Sufficiently large n}$$
|
Can maximum log likelihood take a value of 0 ? I am using nlminb() in R to minimize a function that returns -sum(log(x)), and I am getting the $objective from nlminb() of my full model as 0 and null model as 0.47.
|
I am currently working on identifying all the methods that have been implemented in all kinds of disciplines in order to borrow strength. If you have ever used, or came across such methods i would be grateful if you could let me enrich my collection.
To make myself more clear with regards to the 'borrowing of strength'... |
I'm learning about doing inference with two samples. $d̄ = x̄₁ - x̄₂$. Sampling is independent. Let's suppose $x̄₁$ and $x̄₂$ are both normally distributed. My understanding is that this means $d̄$ will also be normally distributed. Why is this?
I'm looking for an intuitive explanation, not a derivation of the pdf.
My... |
Consider a sequence of i.i.d Bernoulli RV's $\{X_i\}_{i \in \mathbb N}$ with parameter $p$. Based on this sequence we build a sequential estimator of $p$ (using inverse binomial sampling for example). This means there's a stopping time $N$ on the sequence, and the estimate $\hat p$ depends on the values of the sequence... |
I've made these two graphs in ggplot from raw survey data.
ggplot(ball, aes(x= VisBea, group=gender)) +
geom_bar(aes(y = ..prop.., fill = gender), stat="count",position="dodge") +
labs(y = "Percent of Respondents", fill="Observed Gender", x="Visit Frequency")+
scale_y_continuous(labels=percent)+ scale_x_discrete(la... |
I'm working on a project where I attempt to predict what 8 (or fewer, ie. a student may take no course) courses a student will take in a given university year based on the courses they have taken in the past.
I've done some research to figure out a possible method, but am having trouble finding a method that easily han... |
I want to confirm something, i have to compare two means(using test statistics) and if i am not wrong and what i learnt is right then i must use T-test when sample size is less than 30 and population standard deviation is unknown(estimating the population SD with sample SD) otherwise Z-test. But if sample size is grea... |
The environment: We have a state equation:
$$
\xi_t =F\xi_{t-1} + v_t
$$
and a measurement equation
$$
y_t = H\xi_t + w_t
$$
with
$$
E\Bigg[\begin{pmatrix}v_t\\w_t\end{pmatrix}\begin{pmatrix}v_t'&w_t'\end{pmatrix}\Bigg ] = \begin{pmatrix}Q_t&0\\0&R\end{pmatrix}
$$
with $Q_t$ depending on time, $t$. We can then get tha... |
Although a Relu activation function can deal with real value number but I have tried scaling the dataset in the range [0,1] (min-max scaling) is more effective before feed it to the neural network. on the other hand, the batch normalization (BN) is also normalizing data before passed to the non-linearity layer (activat... |
I am new to PCA and trying to do some analysis on my data set. When I apply PCA to my set of data I get all 100% variance on only one principal component. Does this make any sense?
Any explanation would be appreciated.
|
I have limited experience with matlab's nn toolbox but I can manage to train a network and get it to generate decent results. However, I have no idea how many hidden layers, hidden nodes, which transfer function for each layer, and which training method to use.
I tried searching online for tutorials but all of it seems... |
I have been keeping a list of movies I've seen in a spreadsheet and assigning them numerical rankings that approximate how I feel about them. A few years ago I implemented a program to read in the data and allow me to make pairwise comparisons and adjust numerical scores by the Elo rating system. I quickly realized thi... |
One of the difficult aspects of statistics that I have found is the nomenclature and terminology being used.
I would like to know what the difference between the following 'techniques' are and examples of when they are most applicable.
Analysis of Variance (ANOVA)
Linear Regression
Generalized Linear Model (GLM)
Genera... |
Say I have a dataset with ~30 variables and I'm trying to make the best lm or glm. What's the best way to do exploratory data analysis to see if any of the variables would produce a good two-way interaction?
I am already knowledgeable about checking to see if existing interactions are significant, I'm asking how I shou... |
As beginner I am reading this Bayesian Networks example.
I have also read this question.
It calculates $P(S=1,W=1)$, the result is $0.2781$. I tried to expand the equation, but getting incorrect result:
$P(W,S) = P(W|S) \cdot P(S)$
$P(W,S) = ( P(W|S,R) \cdot P(R) + P(W|S,\bar{R}) \cdot P(\bar{R}) ) \cdot P(S)$
$P... |
While using caret package to tune a gbm model, suppose the tuning grid has n.trees=c(100,200). After constructing 100 trees and evaluating the performance metrics, does caret package
(i) discard all those trees and construct new 200 trees? OR
(ii) construct only 100 more trees?
|
I want to predict customers who are likely to purchase Kid Cudi's new album in a few weeks so I can perform targeted marketing. This event hasn't happened before. But I have data very similar to this event, I have album sales for Adele last year. So my data for Adele looks like this, the target variable is "adele CDs":... |
Suppose I have that $Y_1, \ldots, Y_n$ are from a $Pois(\lambda)$ distribution, I am told that $\bar{Y} \pm 1.96\sqrt{\frac{\bar{Y}}{n}}$ a $95$% CI for $\lambda$.
However, I am not clear why. I know that for $n$ large, $\bar{Y} \sim N\left(\lambda, \frac{\lambda}{n}\right)$ approximately. However, how does this fact t... |
Assume we have a distribution that is the mixture of two normal distributions. The pdf of the overall distributions and their single parts may look like the following. In black, the combined distribution and colors are their parts
Sometimes it is necessary to obtain a certain separation value that lies between the two... |
I am confused with some matrix derivative.
For instance, I would like to differentiate a'Xa with respect to X where a is nx1 vector and X is nxn matrix.
Is there any known results for such derivative?
|
In Van der Vaart's Time Series notes, he states the following:
How does one solve theoretically, at least, a system of infinite dimensions? ( $h\in \mathbb{Z}$)Also, should I understand the $l$ index as in $\mathbb{Z}$ or in $\{1,...,p\}$ for an ARMA$(p,q)$?
Any help would be appreciated.
|
Just started learning linear regression, started with a simple perfect linear regression example, X values are 1,2,3,4,5 and Y values are 1,2,3,4,5. And this is the summary I am getting:
Residuals:
1 2 3 4 5
-4.828e-16 8.351e-16 -2.098e-16 -1.544e-16 1.196e-17
Coefficie... |
When we use cross validation (for example 10 fold) I can obtain 10 sensitivity, specificity and accuracy measures and also 10 ROC curves with the associated AUC.
What should I do for reporting my results? Should I report the result of my best model or the average if all of them?
|
Considering that you have to compute (large) correlation matrix between variables x, y, z,...etc, via matrix multiplications, will you prefer $\frac{cov_{xy}}{\sqrt{\sigma_x^2 \sigma_y^2}}$ or $\frac{cov_{xy}}{\sqrt{\sigma_x^2}\sqrt{\sigma_y^2}}$?
Note that the second is faster because you will take square roots from v... |
My friend told me to use Levene's test to check the assumption of homoskedasticity before applying the two sample t-test. I think most people that use linear models don't do that. They check the residual plot to eye ball it instead, and it would be enough. If you look at a two sample t-test as a kind of linear model th... |
I would like to make a discriminant analysis with 2715 data points ;
each representing either Wind, Wood (Bio), or Landfill (Bio) Energy.
However, the number of data points for each type of energy plant differs :
Wind : 865 data points,
Landfill : 347 data points,
and Wood : 195 datapoints.
Therefore, I am unsure of h... |
I am currently studying dynamic panel data models, and a stumbled upon a phenomenon which is referred to as "Quasi fixed effects".
As far as i understand, this boils down to the following idea. Consider latent model for the standard dynamic RE (logit) model for panel data:
$y_{it} = \gamma Y_{i t-1} + X_{it}^\prime \b... |
Let's assume that we have process $X_t$ that follows $\phi(B)X_t=\theta(B)Z_t$, where $Z_t$ is a white noise process, and $\deg(\phi)=p$, $\deg(\theta)=q$.
Assuming that $\phi$ has no unit roots, we can state that $X_t=\frac{\theta(B)}{\phi(B)}Z_t$ is the unique stationary solution to the above equation.
However, if w... |
I did apply momentum optimization method to test the function so I realized the cost is exploding. so I decided to check my method by applying momentum of zero and here I realized the cost result is different by the new method I applied.
$v = momentum * v - learning_rate * dw$
$w += v$
by applying this code I have t... |
I've taken a stacking approach to building an ensemble model for classification. The final model is a random forest using results from neural network, svm, and k-nearest neighbor models. The results are very sensitive to the initial data partitioning procedure. The area under the ROC curve ranges from 0.59 to 0.98 depe... |
What is the difference between the parameters and the moments of a distribution? Are the moments of the distribution (mean, sd etc.) simply also parameters of a distribution?
|
I am currently working on a multiple linear regression in order to evaluate the impact of some variables on a contract's length, which can only take integer values (years). As I am only interested in which variables have a significative effect on the length and in the difference in magnitude between the two, but not r... |
I am in the process of testing my variances to see if I meet the assumptions of a two way ANOVA. While doing this, I was wondering exactly what I have to test.
For example, I used the Fligner Test to test the variances of the interaction: fligner.test(Pros_Width~interaction(Fouling,Sex),data=Pros_Fouling).
Would I also... |
To my understanding, I can invert a the normal test for
$\ H_0: \theta \ = \theta_0 $
vs.
$\ H_1: \theta > \theta_0 $
which means to get $\ H_1: \theta < \theta_0 $ and with that a (1-$\alpha $) confidence interval for $\theta $.
Is that then an exact confidence interval? If yes, why?
Would it make sense to assess its... |
$\ y_i$ = $\ α_1 $ + $\ α_2xi_2 $ + $\ α_3xi_3 $ + $\ α_4z_i $ + $\ α_5 xi_2 z_i $ + $\ ui_4 $
with E($\ u_i|xi_2, xi_3, z_i) = 0 $
$\ z_i $ is not observable but linearly depending on $\ xi_2 , xi_3 $
$\ zi = γ_1 + γ_2xi_2 + γ_3xi_3 + vi $
How can one find the partial effects of $\ xi_2 , xi_3 $ on the $\ E(y_i|x_i... |
I'm applying nearest neighbors algorithm KNN classifier on a movie rating dataset, it was a sparse document-term matrix in the Matrix-Market format.
I've converted it into a format same as this IRIS dataset.
There are 5000 features and 2000 instances. I'm using this code for building this classifier.
The Euclidian D... |
I have been scouring Stackexchange and various sites for the past few days for an answer to this question, and I've found a lot of helpful comments. However, I want to know if I've used correct syntax for my model in nlme. A main issue is that I'm having trouble replicating published results from the exact same dataset... |
I am trying to determine if caterpillars that eat a natural diet (monkeyflower) are more resistant to predators (ants) than caterpillars that eat an artificial diet (a mixture of wheat germ and vitamins). I did a trial study with a small sample size (20 caterpillars; 10 per diet). I weighed each caterpillar prior to th... |
I made two linear models whose specs are:
Model 1:
n. of coef: 60
dof: 939
Model 2:
n. of coef: 176
dof: 844
I want to be able to infer whether Model 2 is significantly more complex compared to Model 1.
Are these statistics enough to infer this and are there more statistics I could look at?
Also, if Model 2 has more co... |
Suppose that $Y_1, Y_2$ are independent and from a distribution where:
$$
f_\theta(y) = \begin{cases}
\frac{3y^2}{\theta^3} &\text{for $0 < y \leq \theta$}, &\theta>0\\
0 &\text{otherwise}
\end{cases}
$$
Suppose that I want to find the pdf of the maximum of them, ie, I want to find $T = max(Y_1, Y_2)$.
To do this, I h... |
For a MNL regression, is it possible to include independent variables that are only populated for one of the choices? Let's say there are 3 choices an individual has. However, only choice 3 has an attribute (call it X3) that the other two options do not have. Can we estimate the effect of X3 on choice 3?
My understandi... |
Genetic algorithms are one form of optimization method. Often stochastic gradient descent and its derivatives are the best choice for function optimization, but genetic algorithms are still sometimes used. For example, the antenna of NASA's ST5 spacecraft was created with a genetic algorithm:
When are genetic optimiza... |
I know that if $T(\bf{X})$ is a sufficient statistic for $\theta$, then the conditional distribution of $\bf{X}$ given $T(\bf{X})$ doesn't depend on $\theta$. However, I am not sure why this makes sense.
It seems that we will never know $\theta$, and that $\bf{X}$ to begin with already depends on $\theta$, and that $T... |
Hope someone can help me here:
So there are variables A, B, C, and D and groups 1 and 2.
Groups significantly differ in variables A and B, but not in C and D.
From previous research, correlations are generally interesting for
(1) A and B,
(2) and C and B
(3) and C and D
(1) - When conducting partial correlation b... |
I have thousands of gps points taken from a public transport vehicle, you can see them below. I would like to get a polyline which would describe "the average route" of this vehicle.
1) I'd like to ignore the outliers, so the points which come from special public transport courses (probably due to blocked roads). To d... |
Suppose that $X_1, \ldots, X_n$ are iid Bernoulli trials with parameter $p$, and that $Y = \sum_{i=1}^nX_i$. Then, we have that $Y$ is a sufficient statistic by the following condensed proof:
$$
P(X_1 = x_1, ... , X_n = x_n |Y = y) = \frac{p^y(1-p)^{n-y}}{\binom{n}{y} p^y(1-p)^{n-y}} =\frac{1}{\binom{n}{y}} \text{ ... |
From practical point of view, is it better to have a model that is overfitting the data or a model that is underfitting it?
|
I have a dataset with approximately 40,000 observations, which are dependent, coming from around 30,000 subjects. Most subjects has 1 observation, some have 2, a minority has 3, while 4 is rare. The dependent variable is binary, and I have several independent variables. I have created contingency tables to examine my d... |
The question may seem simple but the more I read up on this the more difficult it gets. I transformed my data (log) and ran a paired t-test. When I backtransformed the mean difference from this I ended up with a value that didn't make sense.
I'm working with population changes in states in ten years (2000 and 2010). Ba... |
I am working on measuring and plotting a health metric (e.g. Blood pressue) everyday (multiple times every day).
I tag everyday's reading with some tags that happened that day e.g. [run, smoke] (which means I ran for sometime, and I smoked a cigarette that day).
Is there a way to measure time-delayed response of say [s... |
Background
I am seeking to understand the relationship between measured height of certain objects and tides. I have a tide gauge that measures tide height every 2 seconds and a number of other height time-series measurements with steps of approximately 30 minutes apart. These series have gaps, uneven time steps, and di... |
Considering a scenario where a tool can detect errors in a program. The result in each try is whether an error was detected or not. Suppose the tool detected 30 errors in 50 trials.
I calculate this confidence interval like:
1.96 * squareroot(0.6*(1-0.6)/50)
Sample Size: 50
Observed Proportion: 60%
Confidence Level:... |
I ran an ANOVA test on the following dataset and had R output a df value that didn't seem right to me.
Here's a piece of the dataset:
NOISE SIZE TYPE
810 1 1
820 1 1
820 1 1
840 2 1
840 2 1
845 2 1
785 3 1
790 3 1
785 3 1
835... |
I have the following two correlated seasonal time series for the same time period:
dat$ratio <- dat$ords / dat$reqs
summary(dat)
reqs ords ratio
Min. : 0.00 Min. : 0.0000 Min. :0.00000
1st Qu.: 27.72 1st Qu.: 0.5606 1st Qu.:0.01862
Median : 68.77 Median ... |
Why does the distribution of the residuals should be normal and variance of the residuals should be same across the values of the independent variable? Why do we assume these for the residuals only? What are the implications of violating those assumptions? Instead of a mere conceptual explanation, could you please give... |
For the following
$$Y = B_0 + B_1X_1 + B_2X_2,$$
when will $B_1$ be equal to the correlation between $Y$ and $X_1$?
When will $B_2$ be equal to the correlation between $Y$ and $X_2$?
Why?
|
I'm trying to compute the D'AD test statistic described in Feltz and Miller's (1996) Asymptotic Test for the Equality of Coefficients of Variation from K Populations. I'm attempting to use to R reproduce the example they present in their paper.
I can't quite get it right, and I'm not sure why. Here's what I'm looking ... |
Question
I've recently discovered that a brute-force algorithm is much faster at solving an optimal solution than the optimization routine for a particular problem I've been working on. This is mainly because the number of possible solutions is rather small ($2^{12}=4096$), but it has made me question whether computin... |
So in our statistical test, we are using a dependent t-test because we are comparing the means between pre and post conditions in a physiology lab. Since there is a lot of variability between two subjects. For instance, one patient has pre/post values of 15.3 and 19.55% respectively while another has 2.74 and 3.02. My ... |
How should I go about analyzing a relation between 2 variables that seem to be related to each other in a curvilinear manner.
For example, the heartrate dataset in drc package for R software has pressure and rate related to each other as shown below:
library(drc)
head(heartrate)
pressure rate
1 50.85 348.76
2... |
I am regressing a count variable (adverse consequences) against a continuous predictor variable between 0 and 1 where all values are beween 0 and 0.5 (blood alcohol.
I am using a hierarchical negative binomial regression and thus the regression estimates are log-count. I would like to express the relationship between t... |
Here's an interesting probablity puzzle:
One hundred people line up to board an airplane. Each has a boarding
pass with assigned seat. However, the first person to board has lost
his boarding pass and takes a random seat. After that, each person
takes the assigned seat if it is unoccupied, and one of unoccupied
... |
I am trying to fit symmetric model using R. I saw a great post on how to conduct this model. However, it really bothers me why GLM still get result like chisquare, G^2 even if singularities occurs and one variable is NA. I guess the variable should be taken as Zero because it is exactly the intercept? Am I right here?
... |
I have a matrix that looks like this
> a <- matrix(c(1,1,1,2,3,2,2,4,4,5,3,3,8,4,3,8),4,4, byrow = TRUE)
> a
[,1] [,2] [,3] [,4]
[1,] 1 1 1 2
[2,] 3 2 2 4
[3,] 4 5 3 3
[4,] 8 4 3 8
Now I want to have a list of the indices for the minimum of each row. One way to do t... |
I am working on a data set to predict if someone is going to donate blood from UCI Data repository
The criteria of judging the solution is log loss
So I implement the cross_val_score function from scikit-learn 0.18.1 to evaluate various models with following
for clf in classifiers:
print clf
scores = cross_val_... |
I am looking for references of studies that show how to use Monte Carlo simulations to compare different estimators for any given parameter of any probability distribution (for example, comparing the MLE vs. the method-of-moments estimator, for the mean in an exponential distribution). I would like to know which proper... |
i am doing stepwise for logistic regression then the p-values of all variables selected were high then 0.05. According to this publication
Stepwise regression in R – Critical p-value
I changed the code to the following
step(glm(y~.,data=mydat,family="binomial"),direction="both",k=9)
9.22952=qchisq(0.05,3.84,lower.ta... |
I would like to know how it is called as a sampling technique when I need people that are between certain age range and able to speak German. The research is an experiment and people are asked on the street if they want to participate or not. Then, I ask if they are between 18-22 and if they can speak German. I ask peo... |
How to calculate Bayes Factor for t-test (equality of two means) with non-normal data?
There are two samples: $x_1, x_2,\ldots, x_{n_1}\sim f$ and $y_1, y_2,\ldots, y_{n_2}\sim g$
(cases of $f$ and $g$ are specified below)
The hypothesis I'd like to check is $H_0: \mu_1 = \mu_2$. For this particular hypothesis I wish ... |
I am fitting a mixed effects model with a spline term in an application where the trend over time is known to be curvi-linear. However, what I would like to assess is whether the curvi-linear trend occurs due to individual deviation from linearity, or is it an effect at the group level that makes a group level fit appe... |
I am trying to get my head around word2vec (paper) and the underlying Skip-gram model. I hope I got the basics and intuition, but I am still not sure whether bias units are used in the input and/or in the hidden layer.
The input is just a one-hot encoded vector and it is often said it just serves as a selector for the ... |
I am trying to run a mediation model examining country group differences in impression management. I am having some difficulty diagnosing the problem in my lavaan model.
I have three groups: country A (n = 300), country B (n = 325), and country C (n = 320), which are dummy coded into variables A and B.
I specified my m... |
Is there any good paper (sort of best practices) that experimentally explains what happens to CNNs when the training and testing data follow different distribution. This is for the case when CNN is not overfitting but its testing accuracy is low.
|
I have been trying to find the major assumptions a Canonical Correspondence Analysis makes when doing its analysis. I have had a hard time finding anything useful. I did, however, find the assumptions for Canonical Correlation analysis. Does anyone know if these are the same assumptions for Canonical Correspondance ana... |
I have a time series of weather data (wind). I would like to create a signal from this time series such that the distribution of the difference between the two signals has very specific properties. (Mean of ~0, leptokurtic (excess kurt of ~1), and an RMSE between 10 and 20%.
So far I'm using a low pass filter, but th... |
From http://blog.minitab.com/blog/adventures-in-statistics/what-is-the-f-test-of-overall-significance-in-regression-analysis:
Typically, if you don't have any significant P values for the
individual coefficients in your model, the overall F-test won't be
significant either. However, in a few cases, the tests could... |
I am not trying to classify the image, I just want to know (with a given confidence) if the net has seen the image before.
I am using neural network instead of just linearly searching a database not only because I expect the neural network to be faster, but also it will be much more robust to image alterations (if any)... |
I am new and self-starter with the time series. How should I set my ARMA parameters with these ACF/PACF charts?
EDIT:
The actual data below:
2016-01-02,39.75951351903896
2016-01-03,44.19802892451088
2016-01-04,35.887366090361105
2016-01-05,47.52400693730769
2016-01-06,31.983702722150007
2016-01-07,18.057180708258063
20... |
I need to cluster customers of retail shops based on the products that they purchased. Therefore, I need to obtain, as results, both the customers belonging to each cluster and in each cluster the products that mostly influence the specified cluster. For instance, in cluster A, among all products, the customers purchas... |
I'm trying to use this method for calculating the Information Coefficient using bootstrapping. The advantage of using bootstrapping is that I can compare models that are not nested. But to do this, I need to be able to calculating the likelihood of out-of-sample data (because I'm bootstrapping).
I have tried several d... |
Am I allowed to use multiple regression analysis on a sample size of 21? I did the Shapiro - Wilk's test on all four of my variables (p>0,05 on all of them). I also checked their linear distribution and possible outliers in the screeplots, and everything seems fine.
So my question is can I use the multiple regression a... |
I am new to quantile regression, I have read the original paper from Koenker and Bassett and also other documents.
I was under the impression that quantile regression is only used with linear regression functions, but after reading this I am confused:
https://mathematicaforprediction.wordpress.com/2013/12/23/quantile-... |
Here a list of model assumptions for logistic regression is given.
Number 1 is:
The true conditional probabilities are a logistic function of the independent variables.
What does this technically mean?
|
I'm looking at the MCMC code of a professor doing Metropolis-Hastings update of $(\theta, \alpha, \beta)$. $\theta$ and $\beta$ are matrices.
In his code,
1) He updates $\theta$ twice before updating $(\alpha, \beta)$ once.
2) He updates only a fraction of $\beta$ in each time he updates $\beta$.
What are these techni... |
I am trying to identify market regimes (2 states: bull or bear) with percent changes in equity returns. Can you help me in the mathematicl modeling of this? So far, I thought that for each day, there is a state $x_i$ (either bull or bear), and an observed value, $y_i$, that is the percent change in the daily equity ret... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.