instruction stringlengths 9 38.7k |
|---|
Anyone know the Bishop's book
in 2.53 they use Jacobian to convert covariance matrix x to y.
$$J_{ij}=\dfrac{\partial x_i}{\partial y_i}=U_{ji} \qquad{(2.53)}$$
$$\int_{\bf x} f({\bf x})d{\bf x} = \int_{\bf y} f({\bf y})|{\bf J}|d{\bf y}$$
$${\vert}{\bf J}{\vert}^2 = {\vert}{\bf U}^T{\vert}^2 = {\vert}{\bf U}^T{\vert}... |
Background
I am currently reading through the book: Data Analysis: A Bayesian Tutorial, second edition by D.S. Sivia.
I am stumped by one of the relations that he introduces in the context of model selection, when evaluating the evidence for a model $B$, which is parameterised by $\lambda$, with data $D$ and other rele... |
I applied a GLMM model to my data. Trip duration was modelled as a function of the presence of a data logger (i'm working on birds), a factor with two level (present/absent), random effects: bird identity and nest identity, family=gamma. The GLMM show no data logger effect, and now I want to plot means. Since the samp... |
I am comparing four algorithms for ranking problem. My current experiment setup is as follows
1) I split the data into train, validation and test
2) I run the four algorithms and get the performance metric values (nDCG, MAP, Precision etc, a total of 5 metrics) for each algorithm on the test data and store it.
3) I car... |
I have a sample of a multivariate distribution, and I am interested in obtaining a sample from the marginals. I know the right way to do so is by simply taking the corresponding entries. What is the justification for this strategy? Is there a, probably simple, formula or result that justifies this procedure?
|
I have a boxplot that is drawn and the whiskers are the same length but the median is closer to the upper quartile than the middle.
Would this be considered skewed or symmetrical?
|
I have heard that there is no statistical criterion, which would work well in the case when the smaller sample has a larger variance due to the Behrens-Fisher problem, and even Welch's t-test can't be used in this situation.
Is it true? I can't see such limitation in Wikipedia.
|
I have the following question at hand:
Suppose $U,V$ are iid random variables following Unif$(0,1)$. what is the conditional distribution of $U$ given $Z:=\max(U,V)$ ?
I tried writing $Z=\Bbb{I}\cdot V+(1-\Bbb{I})\cdot U$ where $\Bbb{I}=\begin{cases}1&U<V\\0&U>V\end{cases}$
But I am not getting anywhere.
|
Let’s begin with simple visualization:
ID A1 A2 A3 A4 SUM A1/SUM A2/SUM A3/SUM A4/SUM
1 0 1 1 0 2 0 0.5 0.5 0
2 1 1 1 1 4 0.25 0.25 0.25 0.25
3 0 0 1 0 1 0 0 1 0
4 1 1 1 0 3 0.33 0.33 0.33 0
I’ve got a set of ord... |
Are "ensemble" and "Meta Classifier" the same thing?
I see the term "ensemble" being used more frequently - often when talking about combining classifier predictions using majority voting for example, where as meta classifier seems to be different in that it means training a classifier using predictions of a base clas... |
I would like to know if the following is true:
$E\left[\ E[X|Y] \ | \ Y,Z \ \right] = E[X |Y,Z]$
Can someone provide a proof to show that the equation above is either true or not?
|
I have a data set with 2000 continuous predictor variables and a binary outcome variable. I would like a few easy ways to visualize this data. A box plot or histogram of all the variables seems that it would be too much. Are there any good ways of simultaneously visualizing the data?
|
I am struggling to understand Bayesian Model Averaging. Suppose I have got a simple Bayesian network, $X\to Y$ where X and Y are binary variables and I have got 2 models:
Model 1 (simple):
$$P(Y=1\vert X=1)=\theta \quad\text{and}\quad P(Y=1\vert X=0)=\theta$$
Model 2 (complex):
$$
P(Y=1\vert X=1)=\theta_1\quad\text{... |
This is my data:
I used SSfpl for finding out the correct initial parameters
nls(y~ SSfpl (-x, b1,b2,b3,b4), data=estatus)
And with these initial parameters, I used
nls(y~b1 + ((b2-b1)/(1 + exp(b3*(x-b4)))), data=estatus, start=emp)
I can't resolve why I have the next error:
Error in nlsModel(formula, mf, start, w... |
A player is given a fair, six-sided die. To win, she must roll a number greater than 4 (i.e., a 5 or a 6). If she rolls a 4, she must roll again. What are her odds of winning?
I think the probability of winning $P(W)$, can be expressed recursively as:
$$
P(W) = P(r = 5 \cup r = 6) + P(r = 4) \cdot P(W)
$$
I've approxi... |
I have been looking through this overview of lm/lmer R formulas by @conjugateprior and got confused by the following entry:
Now assume A is random, but B is fixed and B is nested within A.
aov(Y ~ B + Error(A/B), data=d)
Below analogous mixed model formula lmer(Y ~ B + (1 | A:B), data=d) is provided for the same ca... |
(This is possibly a silly question, but I am curious.)
The multivariate Gaussian PDF is typically written something like this
$$
\frac{1}{\sqrt{(2\pi)^{d}\lvert \boldsymbol\Sigma\rvert}}
\exp\left(-\frac{1}{2}({\mathbf x}-{\boldsymbol\mu})^\mathrm{T}{\boldsymbol\Sigma}^{-1}({\mathbf x}-{\boldsymbol\mu})
\right)
$$
wher... |
The same participants are exposed to two different screen sizes 27" (stimulus A) and screen size 9.7" (stimulus B). Independent var is "screen" with two levels - sizes. After exposure to stimulus A, they fill two questionnaires to answer dependent variables Y1 and Y2. After that, they are exposed to stimulus B, and ask... |
Suppose in a country there are $N$ states. You select by simple random sampling without replacement (SRSWOR) $n$ states where $n<N$. Now assume for each $i=1,2,...,N$, state $i$ has in total $K_i$ cities. In your sample of $n$ states, you again select, for each state $j$, $j=1,2,...,n$, by SRSWOR, $k_j$ cities. For ea... |
We let $X$ as the avtual claim amount , $Y$ is the amount paid by the insurer. The insurer takes up an excess of loss reinsurance arrangement with retention limit $M$ , we need to find out the probability density function of $Y$ ( $ f_{Y}(y)$ ) , in terms of $f_{X}(x)$.
The random variable $Y$ is defined as :
$$ Y = \... |
I have used the Johansen multivariate cointegration test to see whether a group of ten stock markets are cointegrated. However, I was wondering whether it would be possible to use the Gregory-Hansen and Enders-Siklos tests for structural-breaks and threshold adjustment on the entire system or whether they can only be u... |
The ssRBM is described as a way to model mean and covariance using Restricted Boltzmann Machines.
I'm reading the paper that introduced the spike and slab restricted boltzmann machine. I have yet do more than skim the follow up paper that fine-tuned the model.
The variables involved are:
$v$ = real valued continuous... |
I have a historical dataset to study the behavior of accounts that have lapsed in previous quarter(s). There might be instances where one account ID might be lapsed 2 or 3 times and the account ID would repeat itself that many times.
Q1> Can I run RF for this training set? Account ID 57 is repeating twice but has diffe... |
I have two samples, each of size 18 observations. In the first, the SD is 10 and in the second it is 3. I wish to test the hypothesis that the variance ratio is 4, vs. the alternative that it is not 4, using a significance level of 2% (so I have 1% in each side). I got that the two sided limits (critical values) are 0.... |
I would like to optimize the size of J48 decision tree and CART as well. I use the parameter of M (minimum number of instances per leaf) for J48 in order the control the size. For reaching the required tree size I played with the value M. I would like to know if there are any optimal ways for finding the M value for ac... |
I have created a T test in R and got the below output.
t.test(casein,mu=pw,alternative="greater")
## One Sample t-test
##
## data: casein
## t = 3.348, df = 11, p-value = 0.003251
## alternative hypothesis: true mean is greater than 261.3099
## 95 percent confidence interval:
## 290.1791 Inf
## sample estimat... |
Supposing to have two random dependent variables $X$ and $Y$ how can one calculate the covariance between the two variables $X$ and $X \cdot Y$? That is
$$\mathrm{Cov}(X,XY)$$
Trying using the definition does not lead to a simple result, so are there some properties about this particular covariance?
(For istance if $Y$... |
I have $35$ data points with me. These are the mean values calculated from a human population. Using a statistical software, I performed the normality tests - Shapiro Wilk, Jarque-Bera, Anderson-Darling. The data set passed all these three tests (p(normal) values were greater than $\alpha$ level = $0.05$) hence, the nu... |
In real world situations, most often the estimated 2D positions from the videos are effected by a noise.
I have a set of consecutive 2D positions for moving objects in 2D space.
Part of this data (1000 observations) were annotated that the object is stationary (standing still).
I would like to use this data (1000 obse... |
Let assume we have a computer system that produces events in the form (x,y,z,e= (0|1)) where x,y,z are some states variables and e defines if some event happened or not. The random process generating those events follows an unknown distribution. Function F'(x,y,z) is our model and defines the probability of e happening... |
I am trying to run this WinBUGS code to get a prediction for the number of fatalities in 1975
model
{
for (i in 1:5) {
fatal[i] ~ dpois(mu[i])
log( mu[i] ) <- alpha + beta * (year[i]-1970) + log( pop[i] )
}
alpha ~ dnorm(0,10000)
beta ~ dnorm(0,10000)
}
list(alpha=74.4, bet... |
When dealing with missing data and Little's missing completely at random test, it's widely considered that if the test has a significance level of P>0.05 the data can be considered as MCAR.
But, I can't find a single paper that confirms that interpretation. All the papers just say that their values are higher than 0.05... |
Given that i have the following data.
if i was to choose the best player based strictly on percentage of missed shots without knowing the total number of shots taken and total number of misses then i would pick player C OR D. However with the given data set i want to present this to someone in the best visual way poss... |
I have the following analytic function.
$y =e^{-\frac{1}{2} x^2} \left(4 \sin^2 6 x + 3 \cos^2 x \sin^2 4 x + 1\right)$
My goal is to create $(x, y)$ pairs from this function where $x = [-2, 2]$ and use nonlinear regression to fit a curve to the data. This is for mere educational purpose.
Which one of Gaussian Process ... |
I have a model with an ordinal DV and a few IVs that are categorical (nominal and ordinal) as well as one continuous variable. I recoded all the categorical variables with 3 or more categories into dummies to run the colinearity test. I have one variable (5-point likert scale, ordinal) that showed 2 of the 4 categories... |
Suppose I performed an experiment for two groups, did ANOVA test and f for this experiment was 0.48 between these two groups, having n=18, power = 0.8 and significance (alpha) = 0.05
Now if I want to perform same experiment but within 4 groups of samples with same variance within groups, and then figure out which group... |
I've taken some introductory statistics course in uni but not high level multivariate analysis, I also have a minor in math if that helps with the recommendation. I feel like I should go over some chapters in a standard multivariate analysis textbook so I'm not completely lost when I try to learn about high-dimensional... |
I've seen plenty that discusses whether a basic Poisson regression is a nested version of a zero-inflated Poisson regression. For instance this site argues that it is, since the latter includes extra parameters to model additional zeroes, but otherwise includes the same Poisson regression parameters as the former, thou... |
Specifically, two group ANOVA vs unpaired t-test. My understanding was that those would always give the same p-value, but someone just told me that there could be rare cases where the ANOVA and the t-test would lead to different p-values. My questions: (a) is this true? and if yes, (b) under what conditions would this ... |
Let $X_{(1)}, \ldots, X_{(n)}$ be the order statistic of an i.i.d. sample of size $n$ from $\exp(\lambda)$. Suppose the data is censored so we see only the top $(1-p) \times 100%$ percent of the data, that is $$X_{(\lfloor p n \rfloor )}, X_{(\lfloor p n\rfloor + 1)}, \ldots, X_{(n)}\,.$$ Put $m = \lfloor p n \rfloor ... |
I am analysing some data using Fisher's exact in R test but I am unsure how to interpret the results.
I want to compare test scores between two groups (A and B), I have two tests but wish to look at each individually, i.e compare scores between group A and B for Test 1, then do the same for Test 2.
As my test scores co... |
I want to test a hypothesis, where i want to test the marks scored by Boys and girls.
Gender = 1 is for males and gender = 0 is for females.
assuming I am reading a data from a CSV file this is how I am representing it.
hp<-read.csv("hyp.csv")
t.test(hp$Math[hp$Gender==1],mu=mean(hp$Math[hp$Gender==0]),alternative ="gr... |
I think when cross validation calculate precision and recall (refer to my code above), it calculate average precision and recall of each class? Which means if prediction of one class has high precision/recall, the other class has relatively low precision/recall, the final results are still ok?
Suppose a two class class... |
Edit: Revising original question
I'm trying to make sure I understand frequentist confidence intervals. Below is a hypothetical setup that illustrates the way I'm trying to think about this, and I'm wondering where/if I'm going wrong?
Setup: A computer generates 100 numbers from a binomial distribution, B(100,p) with t... |
I want to calculate the $l$ step ahead prediction interval of an VAR(2) on three series. Theses series are differentiated once before estimation of the VAR(2) model. I use the functions of the MTS package in R.
The 'problem' is that the VAR function of the MTS package cannot be use with the forecast function. Hence, I... |
I'm trying to find a way to calculate the required sample size for an experiment in which the observations are subject to measurement errors expressed as a percent value of the observation.
For the sake of simplicity assume that I want to do a 2-sample t-test on independent samples. I can calculate the required sample... |
I am studying the price of fish in a rural African market. I used Spearman's to test for the degree of correlation between weight and price, which gave a value of .773. I then took the log10 of price and re-tested correlation, and it gave the same Spearman's value of .773. This seems odd, since I thought a transformati... |
I am doing about analysing the impact of Brexit on British stock market i.e. FTSE 100 and FTSE 250. I did run OLS for estimation window to find the market model for each company in FTSE 100 and FTSE 250. And then, I found the abnormal returns for each in the event window from day -7 to day 30 ( day 0 is 23/06/2016 - of... |
Suppose we want to calculate some expectation:
$$E_YE_{X|Y}[f(X,Y)]$$
Suppose we want to approximate this using Monte Carlo simulation.
$$E_YE_{X|Y}[f(X,Y)] \approx \frac1{RS}\sum_{r=1}^R\sum_{s=1}^Sf(x^{r,s},y^r)$$
BUT suppose it is costly to draw samples from both distributions, so that we only can afford to draw a f... |
I have two independent groups and they seems to form a Pareto distribution when the histograms are looked at. Is there a particular hypothesis test that is specifically made to compare the means of such distributions?
I should also mention that the distributions are highly unbalanced (one group has 1000 instances and ... |
I am confused about the validity of a certain step (perhaps the most crucial one) in the derivation of Itô's lemma.
Here's my understanding so far: Itô's lemma deals with transforming a differential equation of a stochastic variable $X(t)$ into a differential equation for a function $F(X, t)$ of that variable. In parti... |
I have to calculate the average AUC over several million AUCs and was researching on whether there is a more efficient way to do it that doesn't involve sorting. Even an approximation of the individual AUCs would be reasonable assuming that it could improve the speed. Each AUC calculation could involve over 30,000 trut... |
I’ve been looking into statistical distributions lately, having little background in statistics myself, and the way it allows you to modelize complex experiments is absolutely fascinating to me. Lately, though, I’ve been getting into tabletop RPGs again and have found myself unable to put the World of Darkness success-... |
I am new in bioinformatics and machine learning. I am trying to predict a disease outcome using cv.glmnet to choose the best lambda for the prediction. The problem I have is that outcome groups are uneven (30 samples for outcome 0 and 14 samples for outcome 1). Therefore, in a 10-fold CV (even in a 5-fold), there will ... |
I have two groups "Treated" and "Control" and by a test either positive or negative. The p value by fishers.test is 0.04. The Odds Ratio is 3.13 and the confidence intervals are 0.93-13.43. I was under the impression that when the test is statistically significant then the confidence interval does not cross 1.00.
ca... |
I was reading about the geometric distribution, where $E(X) = 1/p$. This made me think of the classic formula in physics: $t=1/f$. Is there a parallel between both formulas, especially since a probability is often viewed as a frequency, and, on the other side of both equations, I have a time?
Assume we do a Bernoulli t... |
Edited:
I'm a statistics newbie, so please be gentle
I'm trying to figure out what test to use to analyze a categorical concurrent with continuous predictor for a categorical response.
For example:
How is hypertension with incrementally increasing age associated with overall death?
I'm trying to determine if hypertens... |
I am new to the world of GLMM, and I have a simple design. Each subject sees the same questions (4-choice). I want to treat the questions as random factor and test if subjects succeed above chance (0.25) in these questions. subjects are marked as Ss, Questions as Qs and accuracy (0/1) as ACC. In the past I used lme4. H... |
I am in the last stage of my paper review and it is very close to getting submitted. However, there is a comment I am highly struggling with:
The reviewer wants to know what the ICC and the s.e. of the ICC is.
The model I have is a linear mixed effect model looking like:
mixedmodel <- lmer(y ~ x1 + x2 + x3 + (1 | count... |
I have few vectors (of length 1000) representing frequency of 1000 elements for different situations.
e.g. Vector for situation 1 is
s1=(12, 0, 3, 4, 0, ...., 10)
and is of length 1000 (as there are 1000 distinct elements).
I have 10 such vectors s1, s2, ..., s10.
How do I statistically show that the probability distr... |
My question flows out of the top answer to this question, from which I learned that a "linear function" is any function $f$ with properties of additivity and homogeneity of degree 1:
$$
f(x + y) = f(x) + f(y) \\
f(ax) = af(x)
$$
Just reflecting on the formula for the median it seems to me that the function does not ha... |
I have data that (in theory) should be normally distributed. But there are additional sources of noise and I want to estimate the likelihood of the data using Student T distribution in order not to penalise outliers too strictly.
How can I do this? I thought that just $(X - \mu) / \sigma$ and likelihood calculation usi... |
In PRML Chapter 10 Approximate Inference, the fist sentence of the chapter says
A central task in the application of probabilistic models is the evaluation of the posterior distribution $p(Z|X)$ of the latent variables $Z$ given the observed (visible) data variables $X$, and the evaluation of expectations computed wit... |
I want to perform One-way ANOVA in R. I do not have the raw data, but only the mean, standard error and size of each group (there are three groups). If I understand correctly, the ind.oneway.second command in the rpsychi package is relevant only when the groups are the same size. Is there a way to perform One-way ANOVA... |
These are from notes,and I'm just very confused about what it tries to say
Question 1: Does each test test all items? For example, if test 1 tested all items, test 2 tested all items etc, then why don't we just test all the items in one test?
Question 2: How do we determine whether each test is "+" or "-"? There are... |
I am trying to perform PCA with varimax rotation on a set of data with 2 variables, in order to orthogonalise them (not for dimension reduction). I used prcomp() to perform PCA and it gave me results like this:
> print(variable.pca)
Standard deviations:
[1] 1.1104314 0.8420727
Rotation:
PC1 PC... |
This question might be better suited for StackOverflow as it is programming (so you are free to suggest to move it), but it is about a data analysis programming task.
The Q: do you know any "elegant" (e.g. either fast or syntactically parsimonious) way to know the minimal (nearest neighbour) distance between groups/cla... |
I am working with the glmnet package in R and came across a problem when trying to reproduce an "old" classifier. If the explanatory variables are permuted (say in reverse order), the resulting coefficients from cv.glmnet are not equal to the coefficients using the unpermuted design matrix.
For example, consider the fo... |
I’m working with sports performance data and I have a sample of 10 observations ($x_1,\dots,x_{10}$) regarding the total number of ... per match. The according values are 15, 18, 24, 12, 13, 16, 28, 20, 14, 25.
How do I compute the probability that the value of an additional observation (e.g. $x_{11}$ = 7) comes from t... |
Background: $N$ research funding proposals are to be ranked to inform funding decisions. Each proposal is assessed and ranked by 2-4 subject matter experts (SMEs) who only see a small number of proposals. Typically $N$ is many hundreds and the SMEs only assess 2-5 proposals. (There is other information as well but the ... |
Background:
In Statisical Methods by Pfaffenberger and Patterson, they say that
"A parameter is a numerical measure of a population characteristic." (p. 306)
"A statistic is a numerical measure calculated from a set of sample observations."
"Sampling error is the difference between the value of the parameter in the po... |
I have some data for spread of H1N1. The three major categories of people are Uninfected, Infected & Carriers. This is a temporal data as in the tests were conducted monthly ($\rm Month_0$, $\rm Month_1$)
The dynamics of the flow are like this: Uninfected I have some data for spread of H1N1. The three major categories ... |
I am trying to use a regression to identify trends in the poverty rate over time in county level Census data. I cannot use smaller geographies in my regression because the rates provided by Census tract do not cover all the groups I am looking at. I only have one data point for each year for the county, and it comes ... |
In recent years, people build huge neural networks with millions of parameters to learn.
I have seen many discussions about gradient based training, but not too much for Newton's Method / Quasi Newton Method.
Is that true Newton's Method / Quasi Newton Method are not widely used in deep neutral network training?
Is t... |
I have measurements of some $y$ taken at times $1,\ldots,k$ for several individuals and the dependecy of $y$ on time seems to be adequately described by a linear function. To account for the repeated measurement nature in the data, I have fitted a random coefficient model, i.e.
$$
y_{ij}=(\alpha+a_i)+(\beta+b_i)t_{ij}+... |
I'm in the second year of my mechanical engineering bachelor and I've recently started exploring the field of machine learning online. My question is this: which specific subjects do people learn, and in what order, when they study machine learning in college? Also, which books would you recommend? I'm NOT asking which... |
I have 6 out of 167 cases of cancer in the dependent variable. I would evaluate if three independent variables predicted the cancer. Are 6 cases enough? Is there a rule to determine this? Is there difference if the indipendent variables is nominal or numeric?
|
I'm using Bayesian inference to estimate the parameters of a dynamical system which is comprised of several ordinary differential equations (ODEs). I use a gaussian error model. I would like to know if I may use the variance of the residuals (model prediction-data) to estimate the variance of the errors.
To calculate t... |
I want to apply the chi square goodness of fit test to evaluate the quality of fit of wind direction data. I have a dataset with measurements of wind direction and some corrections are applied to this to predict the wind direction in another location. The method of prediction is not important here what is important is ... |
Here is my problem, a step in the analysis that should be quick & easy, but...
I have very various scales in my data and need to rescale my variables to compare them more efficiently in a lmer as I have a mix of continuous and categorical variables.
I was trying to use the scale() function to do that, which requires my... |
In an experiment I a priory hypothesized that the effect of treatment (Control/Sand) may be mediated by Sex (Male/Female) and subjects weight. Because of sex dimorphism I scaled weight for each sex separately, leading to the following model
library(lme4)
NoCoop1 <- glmer(cbind(WL5$ActiveNoWNoG,WL5$ActiveNoWNoG_Fail) ~ ... |
I know that finding the weights of a neural network requires gradient descent as there is no closed form available. I know this from the books, and not knowing exactly why the derivative w.r.t. the weights is not zero-able led me to try to do it.
Let's consider the traditional sigmoid MLP, with just one layer and just ... |
Suppose I do a Wilcoxon signed rank paired test such as:
a<-c(1.1, 2.2, 3.3, 4.4, 5.5)
b<-c(1.6, 1.0, 3.9, 2.2, 3.7)
wilcox.test(a,b,paired=TRUE,conf.int=TRUE)
Wilcoxon signed rank test
data: a and b
V = 12, p-value = 0.3
alternative hypothesis: true location shift is not equal to 0
95 percent confidence interval... |
The three plots on the bottom are regular line plots but how are three top subplots called? The picture is taken from p. 45 here: https://www.ecb.europa.eu/pub/pdf/scpwps/ecbwp769.pdf?9570e6e4c82cc1b22c891b0d412af1bc
|
Suppose that $f$ is a joint probability distribution. Is it possible that some of the marginal distributions of $f$ has a different shape than $f$? For example, if $f$ is multivariate uniform or normal, are the marginal distributions then necessarily also uniform or normal?
The situation I have at hand is that there is... |
I have to show there is no significant overlap between two gene lists.
The way I did was to show high p value of the overlap (from hypergeometric test) and show that I can't reject the null hypothesis of no significant overlap.
But the critique says being unable to reject the null hypothesis doesn't necessarily prove... |
I'm reading an economics paper, where the author is using dummy variables to test for political effects on variables, such as GDP and unemployment. The model is a simple autoregressive model with nothing but a political effect dummy added.
Instead of having a 1 if left-wing party in power, 0 otherwise variable, the au... |
I have two dependent, paired samples. I am not sure if they have a normal distribution, therefore I am going for non-parametric hypothesis tests.
The only doubt remaining is if I should use Wilcoxon or Sign test. I have not find any answer to know what are the circumstances in which I should opt for one or another?
Se... |
I would really appreciate it if someone could clarify the following rather simple approach to determine if a given factor has any impact on a conditional expectation.
Classic methodology: Evaluate $\mathbb E_0[x_T|y_T<10]$ by jointly simulating 2 time series $\{(x_t,y_t)\}_{t=1:T}$, where $x_t>0$.
Question to answer: ... |
I am trying to forecast the leakage rate through seals. Raw data consists of measurements of data which was recorded every second for 60 minutes. The frequency here is 60. To start with I used the first 30 minutes data to find the model that could predict the next 5 minutes data.
What does seasonality in this data mea... |
If $y_1, \ldots, y_n$ is a sequence of observations, we say that there is a turning point at time $i$, $1 < i < n$, if $y_{i−1} < y_i$ and $y_i > y_{i+1}$, or if $y_{i−1} > y_i$ and $y_i < y_{i+1}$.
If $T$ is the number of turning points of an iid sequence of length $n$, then the expected value of $T$ is
$$E(T)= 2(n − ... |
Is there any formal (mathematical) definition of what frequentists understand under ''probability''. I read that it is the relative frequency of occurrence ''in the long run'', but is there some formal way to define it ? Are there any known references where I can find that definition ?
EDIT:
With frequentist (see com... |
I am using data from a longitudinal survey, where the sampling unit is the household. Once households are selected, data is collected from each eligible individual in the household.
My model is defined at the individual level. Since several members from a households are in my model, does my model suffer from cross-sec... |
Is there any simple way to estimate the VC dimension for GBM? Or, for more specific implementation XGBoost?
XGBoost usually has large variability when training on a dataset with less than 500 samples more than 1000 features. Is there any way to estimate the model complexity of XGBoost with certain hyperparameters?
|
I am have been trying to optimize the Gaussian process likelihood function (multivariate Gaussian likelihood) in R (optimx and nloptr) while having some box constraints for my hyper parameter estimates.
I am facing the problem of the solution rushing to the edges of the parameter space. Why this happening is? And what... |
When testing the stationarity of residuals after OLS estimation, the ADF and KPSS test have opposing conclusions when it comes to rejecting the null:
ADF: Rejection of null concludes evidence of stationarity
KPSS: Rejection of null concludes evidence of non-stationarity.
In addition, the sample size is fairly low (ap... |
I was directed here from the R community so I guess it's needless to say that I'm working with R :)
So I'm working with array data, resulting in ~950k x-y value pairs per array which I would like to visualise, for example using D3.js. I probably don't have to tell you that I won't be able to plot the entire raw data, t... |
As important as I have found external model validation to be, there is certainly a lack of material out there. The closest thing I have found is a paper that is focused on external validation for a logistic regression model.
External validation in this context refers to applying a model to a different population than ... |
The R implementation of gradient boosting machine could deal with missing data, a well known and very useful feature (gbm package). However, when a trained model is asked to make prediction on a test set with missing values, it has some unintuitive, rather surprising result.
I made a data frame with one row of NAs, th... |
In my auto-encoder, as I add depth, I notice that the reconstructed images are getting more and more pixelated. This makes sense because the auto-encoder is essentially acting as a compression algorithm and will get more compressed as we add more layers.
But in a classification problem, we don't necessarily care about ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.