instruction stringlengths 9 38.7k |
|---|
I am looking at a set of normal distributed data and trying to figure out why my intuition is wrong here.
If I have multiple normal distributions $N_m(M_m, S_m)$ the literature tells me that I can join them all into a single distribution $N(M, S)$ such as:
$$
M = \sum_m M_m / m \\
S = \sum_m S_m^2 / m^2
$$
And ... |
Assume there is a distance matrix d [n x n], on which we can do hierarchical clustering (say, using average distances). The dendrogram/clustering resulting from this operation is then c.
Are there any algorithms that start from the already calculated c and d, and then deal with incremental updates to d and how they aff... |
I have a probability bound for some random variable $X$ that has the following structure
$$P(X>\epsilon+ c)\leq \exp(-\epsilon/c^2)$$
, where $\epsilon>0$ and $c>0$ is the variance of $X$. I would like to get rid of the $c$ on the left hand side, i.e. somehow bring it over to the upper bound, ideally as a multiplicativ... |
I am in doubt with some methodological questions regarding the explanatory power of my model.
Im running a correlated random effects model in some panel data in which there are some lagged values, like below:
$\Delta Y_{i,t} = a + c_i + hT + B_1 X_{i,t} + B_2 X_{i,t-1} +...+ B_N mean(X)_i + B_{N+1} mean(X)_{i,t-1} +..... |
I am trying to fine-tune GoogLeNet in caffe.
DataSet: Images from 8 localities in New York (approx 2500 images in Training data from each of these 8 classes)
So, in this fine-grained classification, i wanted the analyze AlexNet and GoogLenet.
I retrained only last 2 FC layers of AlexNet and got around 70% Test accuracy... |
I have a biostatistics background and epidemiology interests me. I've never taken a course in epidemiology, so I'm not familiar with this field. My question is related to multivariate model construction in epidemiology.
Suppose that we want to analyse the relationship between one outcome and several explanatory variab... |
I've been doing some work on regression, and a paper in particular caught my attention where they utilised two categorical variables in a logistic regression. From my understanding, if you're using two categorical variables, does that not just come down to conditional probabilities? Out of interest, I wrote some code, ... |
I am looking for a proper method to choose the number of clusters for K modes.
I tried to find the optimal number of clusters by maximizing the average silhouette width though.
In k-modes, the average silhouette width increases with the increase of the number of clusters with my case.
So i tried to derive the elbow ... |
I'm trying to estimate a distribution that looks like a truncated Laplace distribution. However, I can't find closed-form expressions of its first and second moments. I'm expecting closed-form ones as in truncated normal distribution (see https://en.wikipedia.org/wiki/Truncated_normal_distribution).
Have you guys foun... |
I've created a multiple imputed data set with mice (50 imputations). I've only imputed certain variables and want to be able to add the rest of the variables to the imputed data set. I do not include the variables in the imputation phase because the data set contains quite a few variables (3000+), and because the data ... |
My problem is very simple.
I intend to use kriging (for various reasons) to perform regression between the trajectories marked with red dots on the below plot, where a simple linear-regression surface has been superimposed as well.
As you can see there is a strong correlation in a particular direction of the four 'curv... |
Is there a method to perform tagging of tweets using NLTK? The pos_tag() function gives incorrect results on twitter data (which uses textese):
# checking if NLTK tokenizers work on SMS textese
tokens = pos_tag(word_tokenize("ikr smh he asked fir yo last name so he can
add u on fb lololo... |
I want to estimate a panel data model (not yet decided if FE, RE or an alternative that is not yet known to me). The equation is:
$$ {y_{it}} = \alpha_{i} + \lambda_{t} + \beta_{1} X_{{it}} + \beta_{2} Z_{{it}} + \epsilon_{{it}}$$
I am mainly interested in X, but I suspect that might be endogenous. I investigate so... |
I have made a simulation study in order to evaluate the "efficiency" of a specific test method. I create some data and then I look whether the resulting CI of my my effect size estimate captures the true effect size. (As I am generating my test data I know what the true effect size is). Repeating this many times I get ... |
I'm trying to learn machine learning and till now I know "Discrete Probability distribution is a probability distribution in which sum of all probabilities sum to one and this is not continuous'. Now I have a problem to solve which contains following data.
Population = [111 x 200] matrix data and I need to calculate 'C... |
Consider a setting where we have set of $K$ distributions on $\Bbb R$ given by $f(\theta_1), \dots, f(\theta_K)$,
and on each step $i$ we can pick a $k_i\in [1;K]$ and draw a value $x_i\sim f(\theta_{k_i})$.
Here $f$ is a parametric family of distributions,
e.g. Bernoulli,
and $\theta\in \Theta$ is a parameter of thi... |
I have run a series of linear regression models. In model 1, I have added three covariates. Model 2 is the same as model 1 with an extra covariate (education) added to examine the effect of education on the coefficient of the outcome variable.
When comparing model 1 to model 2, if the coefficient for the outcome varia... |
What would be an appropriate statistical test to test whether one sample is more significantly spread out around zero than other?
I believe that what I am looking for is a kind of f-test but instead of comparing variances (variations around the mean of each sample) I would want to compare "variances" around a fixed pre... |
I have a set of 321 observations of 18 correlated variables, so I do PCA to extract a low dimensional set of features from this high dimensional data set. I select 9 of 18 components (the number of components that explains 80% of total variance) After determining the number of clusters with NbClust, apply k-means clust... |
In case of independent truncated distributions, we can know the support of their sums from their convolutions. How about the dependent counterparts? In my case, I sum 9 dependent truncated distributions, which the support of each of the distribution is between -1 and 1. So, if they are independent I get -9 and 9 (by si... |
Suppose I have a trend such as the following. Here is some code I wrote to generate fake data:
rm(list=ls(all=T))
set.seed(10)
fake.means = c(9,9,8,6,5,4,5,6,4,6,6,5,4,5,4,6,5)
df = data.frame(m=fake.means,sd=NA,N=NA)
for(i in seq(1,nrow(df))) {
df$N[i] = sample(seq(10,50),1)
df$sd[i] = sample(seq(0.1,2,by=0.1),1)... |
I saw an example on a blog where a k nearest neighbors algorithm was run to predict responses on a test data set.The MSE(mean squared error) of the predictions was larger than the variance of the response variable in the test set. Shouldn't the MSE always be less than the variance of the response variable as SSTO(total... |
I am investigating the sentiment of television viewing. Armed with a matrix of sentiment scores like so.
# sad happy angry surprised disgusted
# A Word 1 0 0 0 0
# Backstrom 0 1 0 0 1
# Good Witch Hallmark 0 0 ... |
In the following result, the adf.test shows that the series is non stationary, while ur.df shows it is stationary (choose the lags based on decreasing from lags=5 until the lag coefficient becomes significant).
Should I trust that the series is stationary based on a=5% since the p value of z.lag.1 in ur.df is 0.0299<0... |
I have totals for two periods of different lengths (previous month vs month-to-date) and want to test whether they are significantly different.
E.g.
1.-30. Nov 2016 = 102.3
1.-13. Dec 2016 = 41
If these were count data I'd run a chi-square for goodness of fit and adjust the expected values according to the length of ... |
I have a question about the significance of adding covariates in a mixed model that I can't explain, or find an answer for online. I hope that by posting my question here, someone may know a good explanation.
I am using a linear mixed model approach in SPSS to find significant predictors for EQ5D in time. I am trying t... |
I am generating a series of $N$ variables as $X_n=\sum_{i=1}^n{\delta x_i}$ where $n=1,...,N$ and $\delta x_i$ are i.i.d in $[0,\inf]$ with $<\delta x_i>=\int p(\delta x_i)\delta x_i=1$.
I am interested in the density of the generated values $[X_1, X_2,... X_N]$ in the domain $[0,N]$. Histograms of these values sugges... |
What are ways that can be used to estimate correlation matrix $V$ when $cov(\epsilon)=\sigma^2 V$, $y = X \beta+ \epsilon$ and $\epsilon \text{~} N(0, \sigma^2 V)$
Where $V$ is a non-singular positive definite matrix.
Using $V$ for example $\hat{\beta}=(X' V^{-1}X)^{-1}X'V^{-1}y$.
And
$$f(y, \beta, \sigma^2)=(2 \pi \... |
I've found a board which shows the probabilities of each possible match in the Champions League 1/8 finals.
I wanted to know how those calculations were done but I can't find a way to do it. Every team can meet each other except for 3 rules :
First of each group (names on the left) have to face the second of each gro... |
I know, that the variance of OLS $\beta = \sigma^2 (X^TX)^{-1}$. Then I did calculations of $ (X^TX)^{-1}$ and I need the inverse in order to complete my proof. But the inverse of 3*3 matrix is a pain(especially in general case).
So I need a hint.Is there another way to prove the statement above? Or the only option is... |
What is the proper way of calculating the auto-correlation of a limited length real valued data series?
Searching books and the web one can find two different methods for calculating the auto-correlation function $f_{\text{ac}}$ of a given data series $\{x_i\}$ at lag $l$:
$f_{\text{ac}}(l)= \frac{\big\langle(x_i-\mu)... |
I sometimes see job descriptions where R is posted as analytical tool while others mention R as programming language.
What is the difference between programming in R and performing analysis in R?
UPDATE as of 10/17/2020:
lately, new elements popping in job descriptions made me realize that my old question was too vag... |
In Goodfellow's Deep Learning book (http://www.deeplearningbook.org/contents/regularization.html 7.12) they state:
Because we usually use an inclusion probability of 1/2, the weight
scaling rule usually amounts to dividing the weights by 2 at the end of
training, and then using the model as usual. Another way to a... |
I am training an SVM online, however all the examples I feed it are getting categorised as Error Support Vectors. None of them is getting categorised as a margin support vector. Would this lead to a reduced classification accuracy? What should be done regarding this?
|
In my model one of my variables (X2 below) is significant and has a negative sign in both the binomial and count parts of a ZIP model. I was wondering how to interpret this? The way I see it, this variable makes the subject less likely to be part of the "always zero" group (thus the negative sign in the binomial part o... |
Here's sort of a TL;DR: how would you call it, if you incorrectly say your test was "false negative", because in fact the reference standard got it wrong (and was false positive).
So my new test is actually correct, because the reference standard got it wrong, which obviously results in a serious underestimation of my... |
I have sales data over a number of years for several different products. The products are only on sale for a limited period each year (spring - summer). The data will sometimes be irregularly spaced (products are not always on sale every week during the sales period). There may be seasonality and a yearly trend. I woul... |
When to use a generalized linear model over linear model?
I know that generalized linear model allows for example the errors to have some other distribution than normal, but why is one concerned with the distributions of the errors? Like why are different error distributions useful?
|
Linear model without covariates
$$y_i=a+\epsilon_i$$
I'm trying to calculate the $\hat{a}$ using OLS by $min\sum(y_i-a)^2$.
$$\frac{d}{d(a)}\sum(y_i-a)^2=0$$
$$\sum y_i=n \hat{a}$$
$$ \hat{a}=\frac{\sum y_i}{n} =\bar{y}.$$
Now for $E(\hat{a})$:
$$\hat{a}=\frac{\sum (a+\epsilon_i)}{n}=a+\frac{\sum \epsilon_i}{n}$$
But ... |
Is there a statistical test I can apply to compare multiple rates and get which one is the biggest and which one is the smallest?
Example:
1 person converted out of 2 for page A. conversion 1/2
10 person converted out of 1000 for page B. conversion 10/1000
600 person converted out of 800 for page B. conversion 600/800... |
I have two observers who both looked at several scans we performed in patients.
They both looked at all scans, they were blinded to clinical data and each others measurements, and they scored several things:
whether the scan was abnormal (1 or 0)
how bad it was (from 1 to 5)
and they measured something using computer ... |
I have a data set of control and paired test values in which the control variability can be relatively high. I'd like to answer whether or not the the test values have increased relative to controls. Specifically, I wanted to examine the increase as a function (percentage/ratio) of the control value (i.e. divide observ... |
ur.df(data, type = "trend", lags = 20, selectlags = "AIC")
This is my output :
Value of test-statistic is: -3.1535 3.6559 5.1012
Critical values for test statistics:
1pct 5pct 10pct
tau3 -3.96 -3.41 -3.12
phi2 6.09 4.68 4.03
phi3 8.27 6.25 5.34
From what i read i would say that at 5pct : tau3 is acc... |
As a researcher on a study, hypothetically, I want to create a scale assessing how much nurses who were providing double duty care giving were blurring boundaries between their duties at work and their care giving at home. They included 7 questions, all in the same ordinal (likert) type measurement of strongly agree, a... |
I am trying to understand what was done with timeseries from one paper.It says
The raw time series are prewhitened, typically by convolution with an autoregressive
filter, to reduce the spectral dynamic range. The autoregressive filter must be
computed robustly;
I have my ts x,how to perform convolution with autoregre... |
Sorry if my question is silly but I am extremely new to Data Science and Time series analysis.
So I have Tv program viewerships for the last 1 year and want to predict for the next 2 weeks. The data is of the form:
Year, Date, Week_day, Channel, Program, start_time, end_time, length, avg_impressions
avg_impressions is... |
Suppose, I estimate a simple linear probability model:
$P(Y=1)=\beta_0+ \beta_1 X_1 + \beta_2 X_2 + \beta_3 X_1 \times X_2 + u$,
where $Y$, $X_1$, and $X_2$ are dummy variables. All standard OLS assumptions hold. Further assume that I can reject the hypotheses: $H_0: \beta_1 =0 $ and $H_0: \beta_3 =0$, using simple $t$... |
I have a data set that includes locations of where certain rocks were observed on the Earth. Populated areas have a higher number of observations in general. Remote areas have less observations. I'm confident that the low number of observations in rural areas does not mean there are fewer rocks of that type present.
Is... |
On page 12 of this tutorial, it shows that the learning rule is $\Delta w_{ji} = \epsilon s_j(s_i-p_i)$. Can someone show me how this is derived? I got $(1-p_i)s_j$ instead after computing $\frac{d\log p_i}{dw_{ji}}$, where $p_i=\frac{1}{1+\exp^{-\sum_j s_j w_{ji}}}$.
I noticed that this learning rule is different from... |
I have a GPS pointset with two marks (Maple, Spruce) loaded into R with the Spatstat package.
I want to determine if there is a correlation with the spatial pattern between spruce and maple. What is the best approach for me using R and the Spatstat package?
I have already converted my data to a point pattern object, ... |
I have a dataset that consisted of 0s and 1s originally, where I measured movement (yes or no) per time interval in individual tadpoles. They were grown in different conditions (density treatment groups), which is my main fixed predictor, along with body size, temperature etc. I wanted to have one "activity" value per ... |
The sum of the means of two normally distributed random variables is the same as taking the mean of the sum of the two signals.
Does this hold true for maximum likelihood estimation?
Is summing the estimated means of two given data sets by maximim likelihood method, going to give me the same result as finding the mean... |
I have a couple of situations in which I am unsure as to which statistical FWER correction to use.
1) This will lead to a paper.
I have 1 group of people that was tested twice with certain questions (Pre-Post). Multiple Mann Whitney U tests were run. I am attempting to correct for multiple comparisons, while using the ... |
If $r \ge 1$ (not necessarily be an integer), then how to prove that the $r^\text{th}$ raw moment exists if and only if the $r^\text{th}$ central moment exists? I think I have to apply some inequality but I can't figure it out.
|
I'm playing around with GPR and thinking about kernels. I am looking for a kernel that could do a good job of fitting this function.
It is something I drew up just to see how well GPR can do. Its functional form is
$$ F(x) = -x^2 + 10 + 0.3\sin(4 \pi x) + \varepsilon$$
Where $\varepsilon \sim \mathcal{N}(0,0.5)$.
I... |
Consider the following very general framework: There is an unknown vector $x\in \mathbb{R}^n$ and a function $f\colon\mathbb{R}^n\rightarrow \mathbb{R}^m$, $m\geq n$. There are measurements $\mu\in\mathbb{R}^m$ of $f(x)$ given. We assume the measurements to be independent and identically distributed. Our goal is to giv... |
This may be very simple. Consider the following figure, minus the robot. How can I model the standard deviation of Speed as a function of Rep
I can chop the rep up into arbitrary pieces (e.g. 2000 Rep's), calculate the sd, and then draw a regression line between de standard deviations, I also thought about moving win... |
My dataset contain a set of ordinal features and a rank from 1 to 10 which I'm trying to predict.
I'm looking for a way to understand which feature is most important at each rank.
Which model is best to use to get this information?
Would learning-to-rank models (RankSVM ...) work in this case? I'm not dealing with qu... |
I wonder how to solve this classical problem:
Recall that for a binomial proportion $\hat p$ based on a sample of size $n$ we have $$E(\hat p)=p$$ and $$\operatorname{Var}(\hat p) = p(1-p)/n.$$ Show that the variance-stabilizing transformation of $\hat p$ is $2\sqrt{n}\sin^{-1}\sqrt{\hat p}$. This is called the arcs... |
I've been reviewing Bayesian model selection, where probability of data given the model is defined with the following equation:
$$p(y|M_k) = \int p(y|\theta)p(\theta|M_k)d\theta$$
As I understand, $p(y|\theta)$ is simply the distribution of y under the parameters we've already defined. I'm a bit of confused by the term... |
I am having trouble with figuring out which statistical analysis would be appropriate for a study that I am currently running. What I want to be able to compare is profiles of scores from a measure at two different time points.
I.e. I have data from T1 and T3 of a measure that has 19 scales. I want to be able to test i... |
I read on https://en.wikipedia.org/wiki/Generative_adversarial_networks :
[Generative adversarial networks] were introduced by Ian Goodfellow et al in 2014.
but Jurgen Schmidhuber claims to have performed similar work earlier in that direction (e.g., there was some debate at NIPS 2016 during the generative adversaria... |
It is well known that Brownian motion (BM) has a Hausdorff dimension (ie fractal dimension) of 2, for topological dimension >= 2. In other words, BM always "behaves like" a plane surface, no matter the dimensionality of the BM process itself (so long as the BM is topological dimension >= 2). This is related to the tran... |
I am doing a terminology report on ANNs, and I am trying to understand whether the
'hidden layer' means the same thing as the 'hidden state' of a network. I have only found the second term when discussing RNNs or LSTMs, so is it only relevant to those?
I apologise if this is a silly question. This is all very fascinat... |
I am working on building an Implicit Matrix Factorization Recommendation System. I have data that contains ratings between 0 and 28, based on the frequency of views (User A viewed Product XYZ a total of 8 times, thus has a score of 8). I was reading through the Hu et al. paper and from my reading, it appears that I als... |
I want to find bootstrapped CIs for the regression coefficients of the following Poisson regression:
m1p <- glm(Total_balls_chamber~AverageHumidity+Temp_offset+AverageHumidity:Temp_offset, family=poisson, data=Humid)
I have tried the following code:
library(boot)
bootReg=function(formula, data, i)
{
... |
Problem:
I am working on a a binary classification problem with the following qualities:
Highly imbalanced
False Negative errors much more costly than False Positive
False Positives are only False until investigated; may become True Positives
True Negatives are by far the largest class
Spatial in nature (raster based)... |
I am trying to implement a Hidden Markov Model. In my studies we used the package HMM as well as wrote our own functions. Here is a slight modification of the example from the HMM package.
library(HMM)
hmm = initHMM(c("A","B"), c("L","R"), transProbs=matrix(c(.8,.2,.2,.8),2),
emissionProbs=matrix(c(.6,.4,.4,.... |
Say I have a full model $y = \beta_0 + \beta_1 x_1 + \beta_2 x_2 + \beta_3x_3 + \beta_4 x_4$. I have regression output giving an overall F-test, standard errors, coefficients, t-test for each coefficient. I would like to preform an F-test on $H_0: \beta_1 = \beta_2 = 0$ against $H_a: \beta_1 \neq 0$ or $\beta_2 \neq 0... |
I have a time series that I am trying to model with Python's statsmodels ARIMA api. When I apply the following:
from statsmodels.tsa.arima_model import ARIMA
model = ARIMA(data['Sales difference'].dropna(), order=(2, 1, 2))
results_AR = model.fit(disp=-1)
I get the following error:
ValueError: The computed initial AR... |
For a data set with 3 replicates of 9 different treatments (27 samples) what would be the best way to run the cross validation of PLSR models? There are not enough samples to have separate training and test sets.
My initial thought was to just do k-fold cross validation with 5 randomly generated segments. However after... |
I'm familiar with most methods of imputation, such as mean imputation, and co-prediction (same as imputation using regression).
But, in this article, on page 2 it mentions "rest known data to impute missing terms".
I have never heard of this method and I'm wondering what it means. I know how to use the $X^2$ test to t... |
I am using the coin package in R. For two distributions with the same mean but different variance, the test is unable to reject the null hypothesis that the two distributions are the same.
numSamples <- 100
numSimulations <- 100000
df1 <- data.frame(y=rnorm(numSamples, mean=0), label='A')
df2 <- data.frame(y=rnorm(num... |
I have a doubt on why sum of squared errors is not used for Logistic regression and instead maximum likelihood estimation is used and also why not the vice versa.
Edited
Many were asking me to clarify the question, my intention was to know about using a squared error loss function to find β vs MLE
|
I am studying whether two independent variables (frequency $freq$, and time $t$) influence a (continuous) output variable ($HR$). The independent variables are numeric. However, the experiment tests only two possible values for each of them. I am approaching the problem using Linear Mixed Effect models (LME), where the... |
I do understand that BN does work; I just don't understand how "fixing" (changing) the distribution of every mini-batch doesn't throw everything completely out of whack.
For example, let's say you were (for some reason) training a network to match a letter to a number grade. You have one feature - the numeric value.
Th... |
I would like to determine the MAP estimate $\hat\theta$ for a posterior distribution $P(\theta|x)$, where $x$ is data. The exact posterior is difficult to evaluate but I can approximate by $Q(\theta)$ and show that
$$
\left|\log\left[\frac{P(\theta|x)}{Q(\theta)}\right]\right|<\epsilon
$$
for some small number $\epsil... |
I am learning to use BTYD package that uses Pareto/NBD model to predict when will be a customer is expected to be back. However, all literature on this model is full of mathematics and there does not appear to be a simple/conceptual explanation of the workings of this model.
Is it possible to understand Pareto/NBD mode... |
In a clinical trial, patients enter the hospital (hence, the study) at different time points. We have observed that patients who respond to the primary therapy early survive longer than those who respond slowly. While estimating the overall survival probability of patients, can we incorporate such information to reduce... |
I have (in my opinion) a nested data-set, which I want to analyze with a mixed effects model (R's lme4 function). I need help with the model specification. The data-set consists of three subject groups ('group': control, disease due to gene1, same disease due to gene2) with 15, 10 and 10 subjects respectively. The brai... |
I would like to compare two Groups.
My null hypothese $H_0$: two groups are same
alternative hypothese $H_a$: these two groups are different
I use anova and F-Test in R. but the result of P-Value of anova and F-Test are totaly different. one of them accept the $H_0$ and the another one reject it.
here is my code:
#An... |
I'm working on a time-series forecasting project, where we found regularized linear models to work well. But we have a feature that has small but important impact for some period. We want to be sure this column is not regularized to 0.
Is there any way to skip regularization for generalized linear models, such as Lasso... |
Why is $\min(X_1, ..., X_n)$ of id $X_i: \Omega \rightarrow \mathbb{Z}_{+}$ a Markov chain?
|
I have several time series that take a value of 1 if an event occurs and 0 otherwise. I would like to measure randomness of each time series is. What would be a good measure for this? The reason I am trying to do this is to gauge the predictability of event occurrence.
|
Given:
p = $a^l$ * ($\frac{c}{a^l + b^l}$ + $\frac{b}{a^l + c^l}$)
Where a, b, c, p are known and are probabilities.
Solve for l. (1 equation and 1 unknown)
Does a closed form solution to this exist? I can't see how to solve using algebra.
If there is no closed form solution, what is the best way to solve this? I have... |
Wikipedia (https://en.wikipedia.org/wiki/Maximum_entropy_probability_distribution#Distributions_with_measured_constants) describes in detail a theorem which gives the maximum entropy probability distributions subject to various constraints. They claim this theorem is originally due to Ludwig Boltzmann, but don't give a... |
I’m reading Ponomareva, Roman, and Date (2015) and trying to generate vector $P$ of the $2Ns + 3$ probability weights:
$$P =\{\underbrace{p_1, p_2, \ldots, p_s, p_1, p_2, \ldots, p_s,p_1, p_2, \ldots, p_s}_{2\cdot N \text{ times}} , p_{s+1}\cdot w_0, p_{s+1}\cdot w_1, p_{s+1}\cdot w_2\}.$$ In the paper the value $s$ e... |
If $M, X_1, X_2, ...$ are id similarly distributed, then why is
$$E[\sum_{i=1}^M X_i] = E[M]E[X_1]$$
I don't understand what it means to sum with regards to a random variable $M$?
|
I have to estimate the empirical mean value, covariance and correlation given a sample set $X_i$, $i=1, \dotsc , N$. I am trying to derive the mean value and I arrived at this point:
$$ \sum_{i=1}^N {\boldsymbol \Sigma}^{-1} (x_i - \mu) = 0.
$$
How can i continue?
|
I work in finance, and there's a class of models that works something like this:
Market A -> Market B
Very simply, you theorise that market A predicts market B, and you build a model along the lines of "regress market B returns on A" and so you decide whether to buy or sell B depending on what A did. Pretty much as sim... |
The stochastic process $\{u_t\}$ is a white noise process if and only if
$Eu_t=0$ for all integers $t$; and
$E(u_t u_{t+k})=\sigma^2\textbf{1}\{k=0\}$ for all integers $t$ and $k$, where $\sigma>0$ and $\textbf{1}\{k=0\}$ is equal to $1$ if and only if $k=0$, and equal to $0$ if and only if $k\neq 0$.
I have heard fr... |
Much of the empirical literature seems to interpret the coefficient b of a simple linear (OLS) regression Y = a + bX + e as follows: a one-unit increase in X will, ON AVERAGE, cause a b unit increase in Y. My question is - where is the "on average" coming from? Is this interpretion ok? (although we use LS criterion)
|
What is an example where the Chameleon clustering algorithm [1] fails to merge two clusters where it seems, with visual inspection (assuming the data is in two dimensions), that they should have been merged?
[1] Karypis, George, Eui-Hong Han, and Vipin Kumar. "Chameleon: Hierarchical clustering using dynamic modeling."... |
I have a Bayesian hierarchical model which contains a number of distributions which are mixtures of a point-mass at zero and a continuous random variable. The model is fitted using a gibbs sampler. For the complete conditionals of the point-mass and continuous mixtures I use a Metropolis Hastings (MH) step to pick the ... |
I am going to conduct a study on the intra- and inter- rater reliability of chemical assessment. I am having some problem to calculate the optimal sample size calculation for both raters and chemicals. since my population for raters are 163 and chemicals are 60. How do I have to calculate the optimal sample size?
|
I want to build a recommender for my e-commerce service.
The main problem is that every item in the system is unique,
and can be bought only once (so this item should be not recommended to anyone after the sale).
Service is similar to the eBay, where each item is unique, and, despite the fact that seller can publish th... |
I'm estimating a vector autoregression (VAR) using Gibbs sampling. At each iteration, I'd like to check the coefficients to ensure the VAR is stationary. An older, related question has been posted here, but no solutions have been suggested.
Is a Gibbs sample from a posterior biased if a draw is redrawn and it doesn't y... |
I evaluated an app on attrakdiff.de where I got this chart.
It shows PQ and HQ. It ranges in both directions from -3 to +3. In the chart is a point (PQ, HQ) which is surrounded by a confidence rectangle. I want to merge two of those app evaluations together and therefore need to calculate the confidence rectangle mys... |
ur.df(data, type = "trend", lags = 20, selectlags = "AIC")
This is my output :
Value of test-statistic is: -3.1535 3.6559 5.1012
Critical values for test statistics:
1pct 5pct 10pct
tau3 -3.96 -3.41 -3.12
phi2 6.09 4.68 4.03
phi3 8.27 6.25 5.34
From what i read i would say that at 5pct : tau3 is accep... |
With the recent US presidential election, there seems to be a plethora of election "modelers" (e.g. 538). Given their "accuracy" of predicting the election outcome, I have come up with a couple of criticisms of what I perceive to be deficiencies in election modeling.
To have a valid computational model (e.g. in the ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.