instruction stringlengths 9 38.7k |
|---|
I have a question about how to calculate and compare median cycle times for the production of widgets in factories. I get a report of median weekly cycle times for the factories. I'd like to compute a median for groups of factories and the company on the whole, but I am suspicious of calculating the medians of medians.... |
I'm having trouble interpreting the ANOVA outputs from an lmer model performed on natural log transformed data. I know the parameter estimates and confidence intervals need to be back transformed using the exponential and the resulting back transformed estimates are ratios/percent difference between 2 groups while all... |
When performing classification using logistic regression, can the score function (the gradient of the log-likelihood with respect to the weights) and/or the Fisher information matrix (inverse of the log-likelihood Hessian taken w.r.t. to weights) be used to compare the quality of fit of two sets of weights (without cal... |
Vector-valued AR(1) time series: $$Y_n=AY_{n-1}+\varepsilon_n,$$
where $ \varepsilon_1,\varepsilon_2,...$ are i.i.d $\mathcal{N}(0,M)$, $M$- strictly positive definite
Prove that an invariant distribution exists $\iff$ $A^n→0$ as $n→\infty$
I know that for scalar-valued AR(1): $X_n=\rho X_{n-1}+\varepsilon,$ where $\v... |
I have a time series of daily returns for many years and i have to do preliminary analysis, GARCH modeling and predictions.
I did all my preliminary analysis, ADF test (there's a unit root) , Jarque-Bera test, acf, ... and GARCH modeling using the logarithm of the data.
My question is : Since the series is non-station... |
Say you want to explore the effects of some binary parameter $X_0\in\{0, 1\}$ on the fitness $f$ of a model $M$. Now $M$ has other parameters $X_i$.
I've found a paper that optimizes $M$ against $f$ on all $X_i$ with $X_0 = 0$, and compares that with $M$ optimized against $f$ on all $X_i$ with $X_0 = 1$. Naturally, the... |
I have a dataset that contains 20 predictor variables (both categorical and numeric) and one target variable (2 classes - Good and Bad). But, there are only 23 observations in the dataset. While I wait to receive significantly more observations, what tests / models can I perform on the available dataset to understand t... |
I am using the ks.benftest from the BenfordTests package in R to calculate the D Statistic and p-value of a distribution with respect to a distribution that conforms with Benford Law. The problem I have is that the ks.benftest function gives me a different result from just using function ks.test.
The code I used for ... |
I'm trying to summarize incoming data to speed up some anomaly detection queries... but I'm not sure how to retain/use the stats I'm summarizing.
Here's my basic goal:
1 million events > 1 minute bucket with stats (count, avg, sum, stdev, variance, min, max, etc). Then I have a query that retrieves 1 minute buckets f... |
I'm studying performance analysis and in the summarizing data methods there's the clustering. I understood what clustering is and the various algorithms to clusterize data, however in my book (The art of computer systems performance analysis, Raj Jain) there's written (according to clustering techniques) the following:... |
I am using R, with the forecast package to forecast electricity generation from a wind farm with rain as exogenous variables.
I have estimated an ARIMA (1,0,1) Model with following function:
ModeloX3 <- arima(carg2, order=c(1,0,1), xreg=chuv,
seasonal=list(order=c(0,0,0), period=NA))
where carg2 is ... |
I have built a multivariate distributed lag model (two regressors) which produces p-values that are significant just below the one percent level. However, my constant has a t-stat of like 26. Should I have concerns?
The R-squared is like .80.
|
The interarrival (ia) times of a Poisson process are exponentially distributed. What distribution function describes the ia times of a Negative Binomial process aka Yule-Furry process?
Thanks!
|
Based on an excellent and very useful discussion on a previous question i posted (How can I use synthetic data to validate my classification model?), i would like to ask a very specific question about the rfe function of the R package caret which performs recursive feature elimination:
in detail, based on the above lin... |
I am given the following dataset:
x = (1,2,3,4,5,6,7,8,9,10)
y = (25,17,20,26,10,19,20,9,15,10)
Each $ y_x $ follows an exponential distribution with parameter $ \lambda_x $, where $ \lambda_x=b_0 + b_1x $.
Suppose that $ (b_0,b_1) $ have a uniform prior [0,1].
Question: Find the posterior density of $b_0$ and $b_... |
I am studying for an exam, not a homework question.
According to a survey taken of 500 randomly selected US high school students, 62.9% plan to attend a four year university. A bootstrap distribution is created to find a 95% confidence interval for the true proportion of US high school students who plan to attend a fo... |
Consider the first multivariate normal random variable $x \sim \mathcal{N} (x |0, \Sigma_x )$, where $x \in R^d$, $\Sigma_x \in R^{d \times d}$.
We also are given another multivariate normal random variable $y \sim \mathcal{N} (y |0, \Sigma_y ) $ , $ y \in R^d$.
We would like to find a matrix $A \in R^{d \times d} $ su... |
This is a mediation model with a categorical exogenous variable. I am trying to compare the results by running SEM and regression. The third step regression was conducted and I found the estimates were the same, but the standard errors were different. Any idea? Thanks for your help.
library(rms)
library(lavaan)
y ... |
I'm trying to analyze some binary data that have been consolidated into probability data over time. The probability data is the dependent variable, pertaining to P(event), and I'd like analyze this as a mixed model logit or probit regression. To that end I've done some research and found incredibly helpful answers like... |
I needed to use SAS to find an adequate model for some data using time series analysis. To get the adequate model I needed to include first order and season differencing, then I used an ARIMA model along with autoregressive and moving average to find the adequate model.
Here is my adequate model: $\text{ARIMA } p=(1, 2... |
I need some help with a statistical design.
I have two spatial point datasets: 1 is GPS points of known disease infections in a field (Yes or No Mark Variable). The other is potential detected infections by imagery.
The GPS points are all off by +/- 2m accuracy. However, I don't care. The GPS dataset pattern seems to... |
In experiment, if you know before that an attribute $X$ may affect the treatment effect, so you could do stratify sampling from your target population, e.g., if $X$ is weight, then you could divide the target population into several buckets, then do stratify sampling first, then within the sample from each bucket, you ... |
I have got 2 large samples and want to compare the difference. There are 2 methods:
Assume the population variances are unknown and unequal, and use the Welch $t$ test.
Assume the population variances are known and unequal (estimated as sample variances, which is ok since my sample size is million level and the sample... |
Adding exogenous data as external regressors in an ARIMA model seems pretty straightforward, but how does one do so with ETS methods?
Is there a way of creating a weighted combination of the ETS forecast and a regression based on the exogenous data?
|
Let's say we want to conclude that attributes A, B, C and D are the most relevant attributes to maximize the precision of predicting Y, and then rank those attributes based on their importance/relevance.
Now let's say SVM and Random Forest both seem to be good fits to model the data and Random Forest provides better ... |
Lets say we have two competing models to forecast something.
We can test with the Mincer-Zarnowitz regression if model 1 is unbiased and encompessing all the information of model 2:
$y_i = \beta_0 + \beta_1 \hat y_{i,1} + \beta_2 \hat y_{i,2} + \varepsilon_i$
whereas $\hat y_{i,1}$ is the forecast of model 1 and $\hat ... |
If $k$ is an squared or absolutely integrable kernel are the belo equalities true ?
$$z(s)=\int_{R}^{} \! k(u-d) x(u).du \ \ =\int_{R}^{} \! k(u+d) x(u).du \ \ $$
and
$$\int_{R}^{} \! k(u-d) k(u-d^{'}).du \ \ =\int_{R}^{} \! k(d-u) k(d^{'}-u).du \ \ $$
|
I have a bunch of images and a pre-trained AlexNet model. I have fetched bottleneck features for all images as their representations. I want to find top-K similar images for a given image. What similarity metric (e.g. cosine similarity) is best suited for finding similar images given their bottleneck features?
|
We want to correlate customer lifetime (dependent variable) with feedback rating the customers leave (independent variable) to determine whether we can use the feedback as a prediction for customer churn.
Our data is in a format like this
I'm not a statistician but I assume that if we just correlated Lifetime with Fee... |
I'm trying to figure out what technique to use in order to detect a tremor in accelerometer data. I have the acceleration in the x, y and z coordinates. I've plotted 4 graphs of this data below with various degrees of tremor. The plots below show the data for 20 seconds in which the tremor occurred. Ideally, however, t... |
I have quarterly data on inflation from 1990 Quartal 1 to 2016 Quartal 3.
If I want to perform the pseudo out-of-sample forecasting one quarter ahead with an autoregressive function, do I have to estimate the model until 2016 Quartal 2?
When choosing how many lags to include in the AR model (by looking at BIC and AIC... |
I conducted 2-level mixed effects analysis both in SPSS and in R for a same model (random intercepts and slopes model). Results have been generally similar. However, I have one dataset where degree of freedoms differ greatly. According to manuals for R/SPSS, both packages seem to use the same method (Satterthwaite) to ... |
Graphical model: $(A) \rightarrow \{C : C \in ch(A)\}$ where $ch(A)$ is the set of children to A. So basically a tree rooted in A with edges pointing away from A.
I have categorical distributions of nodes given their parents' values, that is I have the values for $P(C|A)$ but not $P(A|C)$.
Given some evidence, i want t... |
I am reading the PixelRNN paper (https://arxiv.org/abs/1601.06759). I am having a little trouble understanding how one implements the concept of masked convolutions. Section 3.4 states:
"The masks can be easily implemented by zeroing out the corresponding weights in the input-to-state convolutions after each update."
... |
I'm thinking about writing a framework for time series analysis and obviously the question of scaling for big data sets comes up.
From my experience even for large data sets (larger than the main memory) this will
either be handled by scanning in a linear fashion (e.g., for feature extraction)
or it can be process... |
If I had a data set,
$A = \{5,6,8,4,2\}$ then computing the mean and the standard deviation is quite simple. This set has a mean, $\bar{x} = 5$ and a standard deviation, $\sigma = 2$.
But what if I had errors on all the samples in the data set, like so
$$B = \{5 \pm 1, 6 \pm 1, 8 \pm 3, 4 \pm2, 2\pm 4\}$$
How do I com... |
I'm trying to run chi square - test of independance. Between Category A that include values 1,2,3 and Category 2 that include values from 1 to 12.
As you see, there is violation of the assumption that on cell should not have value inferior to 1 and total of cell with expected value inferior to 5 not exceed 20%. (in the... |
I'm testing the randomForest package in R and observing something really strange. Let's first look at the R code below:
n <- 1000
set.seed(12345)
X <- matrix(rbinom(n, 1, 0.5), n, 1)
X <- 2 * X - 1
e <- 1 / (1 + exp(X))
W <- rbinom(n, 1, e)
dat <- cbind(W, X)
dat <- data.frame(dat)
dat$W <- factor(dat$W)
rf.classif ... |
Why expect the Discriminator network to converge to probability 1/2 when it is defined as
indicating the probability that x is a real training example rather
than a fake sample drawn from the model [1] [2]
Given this definition, I would expect it to converge to 1, i.e. thinking constantly that x is from the real t... |
I'm going through the Price Is Right example in chapter 5 of Probabilistic Programming & Bayesian Methods for Hackers.
It reads:
Example: Optimizing for the Showcase on The Price is Right
Bless you if you are ever chosen as a contestant on the Price is
Right, for here we will show you how to optimize your final pri... |
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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.