instruction stringlengths 9 38.7k |
|---|
I have an (intuitive) understanding of what a random variable and a sample are. However, I am not sure how a random variable is related to a sample.
Suppose we have a population of people. Sampling from that population means to take a subset (which we call "sample") of those people.
What can be considered a random va... |
I have the following p-values:
original_pval <- c(0.8125681, 0.3411442, 0.317672, 0.3464842, 0.2220076, 0.2576271,
0.1929609, 0.275641, 0.3180882, 0.1962801, 0.219256, 0.1734164)
When I run p.adjust in R, I get equal p-values for all of the numbers except one:
p.adjust(p = original_pval, "BH")
The results are as fol... |
I am currently working on a dataset containing feature vector words.The feature vector consists of ordinal as well as binary data type, majority of them are binary data. for eg ( F,T,F,T,T,36).
How do I represent such data effectively so that machine learning algorithms outputs the probability value of the predicted cl... |
I am making the following estimate:
\begin{equation}
\langle f \rangle \simeq \int_0^1 \left[ f(x) \cdot K(x) \right] \; \text{d}x
\end{equation}
where
$f$ is an unknown function, possibly $f(x) \in [-0.5, 0.5]$, of $x\in [0,1]$,
$K$ is a known normalized function that loosely resembles a Gaussian which is peak... |
I'm forecasting a timeseries with arima, and want to plot the cumulated predictions. How can i add the according confidence intervals? I'ts my understanding that I can't simply cumulate the intervals as well, right? But how can I add them?
library(forecast)
library(ggplot2)
library(dplyr)
AirPassengers
model <- Arima... |
Question basically in title. I am just curious if anyone has any historical references that point to the earliest usages of this notation.
|
Is student t distribution (Multivariate) symmetric ? On Wikipedia it also says its symmetric https://en.wikipedia.org/wiki/Student%27s_t-distribution.
But my adviser is saying its not symmetric all the time. Is that true ?
|
What will happen in random forest if one of the independent variable has no change in value (have same answer) for all the samples?
|
I am doing a survey study on factors related to child health on around 7000 individuals. All dependent variables are binary and exploratory variables are binary and categorical.
One of the explanatory variables suffered from endogeneity bias (education is correlated with error term). I used ivprobit to overcome endogen... |
Is the following estimator $\hat{\rho}$ unbiased for $\rho$?
$\hat{\rho}$ = $\frac{\frac{1}{n}\sum_{i=1}^n(Y_i - \bar{Y})(X_i - \bar{X})}{\sqrt{{\frac{1}{n}\sum_{i=1}^n(Y_i - \bar{Y})^2\frac{1}{n}(X_i - \bar{X})^2}}}$
$\rho$ is the Pearson's correlation coefficient.
So, firstly, we can reduce the expression by fact... |
I am currently trying to understand how the Word2Vec neural network works, but do not understand why we choose to take the weight vectors between the input and hidden layer as our word embedding vectors.
If we are using both sets of weights(input-hidden and hidden-output) to predict the context vectors from a word vect... |
Suppose that I want to test the randomness and uniformness of the linear congruential generator. Suppose that I have the null hypothesis that the sequence generated by the LCG is idd uniform on $[0,1]$. I choose a seed and let the LCG generate a sequence of $n$ numbers and I apply the monkey test, the permutation test,... |
Is it reasonable to run a random forest model with an independent variables that has almost little or no variations. How they impact the model and whats their role in predicting the dependent?from technical point of view I believe they will not be used in building the tress and will have no role in predicting the DV
|
Let's say there is a die. Getting an even number has a probability of $P(even)=2/9$ for each even number and $P(odd)= 1/9$ for each odd number. Let's say that $Y = F_X(x)$. Now we wish to plot $F_Y(y)$. If $X$ was continuous, then it would be $F_Y(y) = y$, but since $X$ is discrete, $F_Y(y)$ is a step function where $... |
Having done an interesting Coursera module on Linear Regression, and being provided with the starting values for Gradient Descent, I am wondering about some things that were not touched upon, and, for which I could not find the answer to:
What is the way to estimate the initital starting values for the weights? I do n... |
Especially in deep learning, the validation accuracy of a model usually not only plateaus but decreases when it starts overfitting. Because we only measure the validation accuracy after each epoch, wouldn't it be possible for a model to start overfitting during an epoch?
From my understanding, this could be a significa... |
I am running a logit regression and the "field1" is an existing list of 1's and 0's (which I am converting into a numpy list before passing as a parameter to Logit). I am trying to come up with a predicted set of 1's and O's using the Logit regression.
I read an excel file, import it into a data frame.
I assume that th... |
I have a question regarding the convolutional neural network known as U-Net (see link below) and hope somebody can help me out.
https://lmb.informatik.uni-freiburg.de/people/ronneber/u-net/
In the paper, the authors mention a map with a pixel-wise loss weight to force the network to learn the border pixels. I assume ... |
Background:
I have data that I'd like to fit a lmer model to and a snippet of the data is available below. Basically, predictions were made on the grazing duration Graz_time of cattle in 3 groups of 7 cows. Each group was monitored for 3 days before moving on to the next group for another 3 days etc.
data <- structur... |
We are given a joint distribution of $(X,Y)$ as follows : $$f_{X,Y}(x,y)=2I_{(0,y)}(x)I_{(0,1)}(y)$$,where $I$ is an indicator function, i.e $f=2$ if $0<x<y$ and $0<y<1$, otherwise $f=0$.
We want the distribution of $Y|X=x$.
I tried as follows :
$f_{Y|X=x}=\dfrac{f_{(X,Y)}(x,y)}{f_X(x)}$
So, we calculate $f_X(x)$ first... |
I came across 2 problems that puzzle me while simulating variables for a Monte Carlo simulation, using the rnormalcopula command from the rCopula example. The first one is the one from the title, the second one only a related self-study question. Required packages are MASS, copula and mvtnorm. I first noticed the corre... |
I want to train a generative model over a dataset where each example is a $X = (N,3)$ matrix representing $N$ points in $\mathbb{R}^3$.
The local structure (i.e. the correlations between neighboring points, as measured by the Euclidean distance in $\mathbb{R}^3$) is very important.
For now I am representing this data d... |
When models fitted using REML are compared, the fixed structure needs to be the same between all models. However, when models are fit using ML (to compare fixed effects), does the random structure need to be the same?
from Zuur et al. (2009; PAGE 122):
To compare models with nested fixed effects (but with the same ra... |
Is there an absolute need to use a PSD kernel for Gaussian processes (and maybe SVMs?)
For example, If I used a Minkowski distance with 0 < p < 1, the function would is not convex, and thus I would assume that the matrix K would not be positive semi definite.
In Gaussian Process regression, we would need to invert the... |
I'm trying to figure out what's going on in Decision Tree's background. I understand the Decision Tree's on classification problem but I don't understand the Regression problem on Decision Tree's.
What is going on the background in Regression problem with using Decision Tree?
For example, in the simple data,
(x1,x2,x3... |
I'm reading Agresti's Categorical Data Analysis, and I keep seeing the phrase "the model holds" and I'm not sure what it means. For example in chapter 4.5.4 on comparing GLMs using Deviance he says
Assuming that model $M_1$ holds, the likelihood-ratio test of the hypothesis that $M_0$ holds uses the test statistic
... |
For several weeks now, I'm stuck with this problem:
Given some $x_i$ for $i\in1...n$ I have to make a prediction (by some regression algorithm such as OLS regression or regression trees, since the response is continuous) for $y_i$. Not only the 'predicted value' is necessary to know but also the lower and upper bou... |
In an article (Nelson & Katzenstein, 2014) I came across the following sentence: ... “a fixed model of the economy with known parameters (or sometimes unknown parameters with known probability distributions).” (p. 380). I was wondering how the parameters can be unknown while the probability distributions are known. To ... |
Going through some tutorials on reinforcement learning, I cannot help but to notice that people selectively put expectation operators around their equations (value, Q, loss, etc.), and when expectation is used, it is never evaluated.
Note: By "evaluated", I mean, if I were asked in a probability exam to find the expect... |
I am reading this link
PCA
which is a very insightful tutorial
however, in this tutorial, the author mentioned a constraint on PCA:
$C^{T}C=1$
when we look at eigenvalue/eigenvector definition
$Av=v\lambda$
there is no requirement for $v^{T}v=I$
I am quite a bit confused here. Can anyone tell me where I got it wrong?
|
I am using "train" in the Caret package for binary classification with SVM (for the algorithm svmLinear2). I have set 'type = "prob" '. I understand that the probability values farther from 0.5 mean the classification decision was 'easier' , but what exactly do these scores mean? Is it derived from the distance from th... |
I am a new machine learner and am trying to use a Gaussian process regression approach on a training set with ~ 60,000 samples and two features. For the features I have the errors in each sample.
I am using sci-kit learn and I believe this would be done using the 'alpha' kwarg in the GaussianProcessRegressor but it do... |
Suppose I have a variable $X$ with samples $x_i$ for $i=1,\ldots,N$ where $N=10,000$ (just something big).
Posit that a sample subset looks like so: $x_{1:10} = [4,2,3,4,6,3,8,9,1,3]$.
How can I tell, or what tests can I do, to determine if these $N$ samples are ordinal? I.e. what tests are available, or techniques f... |
First time question, I've had a search around but couldn't find anything, but apologies if this repeats someone else's question.
I am running a binomial regression with JAGS, attempting to model the probability of pregnancy given the results of a diagnostic test and membership to one of four groups. I also have a rando... |
I am wondering in which way the threshold of determining statistical significance for DFBETA is computed. From the famous book "Regression Diagnostics: Identifying Influential Data and Sources of Collinearity", it seems the derivation is not rigorous and is just a "suggestion". And I cannot see why the suggestion (-2 a... |
Running a Dickey Fuller test, I've determined the the nominal effective exchange rate (NEER) is non-stationary. However, the difference of the NEER is stationary by the Dickey-Fuller test. The ACF of the NEER (not differenced) was very slowly decaying, providing more support that the NEER isn't stationary. So I'd like ... |
Simple question: how to graph the PDF of a mixed discrete-continuous distribution?
Does it require one graph for the continuous portion and a separate graph for the discrete?
Also, is such a beast called a PDF? Or a PMF-PDF?
I do not have any specific application in mind, so a general answer would suit me fine.
|
I am reading the textbook by Fumio Hayashi. He uses the following example to illustrate the difference between elementwise and joint stationarity. However, I do not understand why the vector process is not joint statiionary.
|
I am using the mirt package in R to model some latent variables. They seem to be working fine, except that a bunch of the scores generated are exactly the same. Most of the scores are within two or three of zero, and then an handful are 19.999919807.
You can better see it visually. These are the two factors, scored us... |
I'd like to calculate proportion confidence intervals for a labor economics survey of 2000 people, but the subpopulations I'm looking at are often 10 or fewer people. I'm not sure if it's appropriate to assume normality and was looking for some non-parametric way to calculate proportions.
Within the survey, I'm lookin... |
A forest contains 100 deer. 20 of them have a red tag and 80 of them are untagged. A researcher samples 30 random deer without replacement. Let X be the number of tagged deer in the sample. From the sample of 30 deer, she will keep picking deer with replacement until she picks the fourth tagged deer. Let Y be the numbe... |
The hyperparameter $\gamma$ of the Gaussian/rbf kernel controls the tradeoff between error due to bias and variance in your model. If you have a very large value of gamma,
then even if your two inputs are quite “similar”, the value of the
kernel function will be small - meaning that the support vector $x_n$
does... |
Suppose that in R, we did a t-test with some sample data:
> t.test(1:10, y = c(7:20))
Welch Two Sample t-test
data: 1:10 and c(7:20)
t = -5.4349, df = 21.982, p-value = 1.855e-05
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
-11.052802 -4.947198
sample estim... |
I would like to forecast for next 2 months using 1 year data captured at monthly level.
sample of the data
201702 7
201703 1344
201704 1311
201705 2645
201706 8581
201707 7271
201708 11550
201709 11372
201710 7089
201711 10677
201712 9147
201801 2992
first column indicated month, second column indicates dem... |
I have a problem with my random effect definition. Lets say I have a mixed effect model predicting species richness (S) by precipitation (P) and temperature (T) in different places - different datasets together (dataset) (that is the random effect). I am also interested in interaction between temperature and precipitat... |
I'm trying to plot a 2d density on a worldmap. The problem is most of my points are around the same coordinates. My current map looks like this:
Code for map:
map = get_map(location = c(lon=43, lat=36), zoom = 6)
ggmap(map) +
geom_density2d(aes(x=Longitude, y=Latitude),
data = rel ,size = 0.3) +
stat_density2d(data... |
I am thinking about working on Question-Answering/Chat-bot problem in the context of software development.
Problem : In any software development work one needs to go through the reference guide for the APIs to understand what function to call for different purposes, which is a very irritating and time consuming proces... |
I have the following problem:
I am told the following information:
(1) vertex A to vertex X is described by an exponential distribution with lambda = 4;
(2) vertex A to vertex Y is described by an exponential distribution with lambda = 2.5;
(3) vertex X to vertex Y identical to vertex Y to vertex X, and it is describe... |
With $K$ knots $(t_1, \ldots, t_k)$ the restricted cubic spline can be written as
$\beta_0 + \beta_1X + \beta_2(X-t_1)^3_+ + \beta_3(X-t_2)^3_+ + \ldots + \beta_{k+1}(X-t_k)^3_+,$
with
$\beta_k = [\beta_2(t_1-t_k) + \beta_3(t_2-t_k)+ \ldots +\beta_{k-1}(t_{k-2} -t_k)] / (t_k -t_{k-1}),$
and
$\beta_{k+1} = [\beta_2(t_1-... |
I have some return data from some different portfolios which I would like to compare using risk vs return ratios. The standard Sharpe ratio has a nice solution for calculating the significance of the difference between two Sharpe ratios and bootstraping and calculating the Sharpe ratios off the bootstrap samples comes ... |
Suppose we have a two sample t-test where the data have unequal variances and different counts. Let $X_1, \ldots, X_{N_1}$ be the first set of data and $Y_1, \ldots, Y_{N_2}$ be the second set of data. Then, a test statistic for this can be written from the Welch's Two-Sample Test as:
$$
T = \dfrac{\bar{X}- \bar{Y}}{\s... |
I want to compare two (non-linear) models, defined by two parameters $\beta_1$ and $\beta_2$. The first (null) model is nested inside the second (alternative) model. Specifically, in the null model, the second parameter is constrained to $\beta_2=0$. So far this is all very typical of course. Less typical, however (at ... |
I would like to use the 'mice' library in R to impute data from a clinical trial, in which I have two groups (i.e. var="group" [0=control; 1=intervention]). I want to impute the missing data separately for each group, using the same imputation model. So, I do not want to use group, as a categorical predictor (0;1) but ... |
I have two independent sets of subjects, $A$ and $B$. Each subject has 20 independent continuous variables, e.g., attributes of each person.
Subject height BMI IQ etc.
001 1.50 18.0 114 ...
002 1.65 28.4 97 ...
003 1.64 20.4 125 ...
... ... ... ... ...
I want ... |
I work with a unbalanced data set (it is about people who actually bought stuff):
Bought stuff: Yes ~ 3%
Bought stuff: NO ~97%
The most important task for my machine learning model, is to optimize the sensitivity (I want to "catch" all the "Yes" people, the 3%).
But I was wondering how I could define the baseline.... |
Let $P_0=\mathcal{N}(0,1)$ and $P_1=\mathcal{N}(\mu,\sigma^2)$ with $\sigma > 1$
I would like to show that the Neyman-Pearson test of $P_0$ vs. $P_1$ at level $\alpha$ has the form
$$\varphi_{*}(x)=\mathbb{1}_{[x \notin(\mu/(1-\sigma^2)\pm\delta_{*})]}$$
for some $\delta_{*}=\delta_{*}(\mu,\sigma,\alpha)>0$ and also to... |
I have $$P(x | \lambda_1, \lambda_2) = \mathcal{N}(\mu + L_1 \lambda_1 + L_2 \lambda_2, \Sigma)$$
and a Gaussian prior for $$P(\lambda_1) = P(\lambda_2) = \mathcal{N}(0, I)$$.
My task is to compute $$p(x | \lambda_1)$$ and I know the answer should be $$p(x | \lambda_1) = \mathcal{N}(\mu + L_1 \lambda_1, L_2 \Sigma L_2^... |
I am trying to prove, under the assumption $E[u_t^2x_t^Tx_t]=\underbrace{E[u_t^2]}_{\sigma^2}E[x_t^Tx_t]$, that the
$$AVar[\beta_{POLS}]=\sigma^2 E[x_t^Tx_t]^{-1}$$
My result:
$$\begin{eqnarray}AVar[\beta_{POLS}]&=&E[(\beta_{POLS}-\beta)(\beta_{POLS}-\beta)^T]\\
&=&E[((x_t^Tx_t)^{-1}x_t^T u_t)(u_t^Tx_t(x^T_tx_t)^{-1})... |
I'm trying to understand how to calculate the prediction interval (PI) from a regression model.
I want to calculate the PI of specific values not observed in the dataset.
I saw that predict can do it with a linear model.
What I did in Matlab is
rm=fitlm(X,Y)
[ypred,yci] = predict(rm, [10 20])
Based on my data, this gi... |
if $X_1,X_2,X_3,...,X_n$ is a sample size $n$ and $i.i.d.$ of a random variable with distribution $f(x)$, and
$$Y=X_1.X_2.X_3.....X_n$$
what is the approximate distribution of $\log{Y/n}$ for large sample (high $n$)?
My annotations
$\log{Y/n}=\frac{\log(X_1)+\log(X_2)+...+\log(X_n)}{n}$
Let's call $\log(X_i)$ from $Z_i... |
I read an article in a newspaper about wage gap between men and women where it is written:
The first problem can be easily illustrated by the example of Great Britain. The government obliged the company with staff of more than 250 people to publish by April data on the average and median salary gap. More than 30 com... |
I am trying to use RF in sklearn to predict our book sales. Our data is a set of dates, unit sales, and relevant discounts. Generally speaking, we sell a lot of books around their release date and then it quickly tapers off with clear peaks around discounts. I’ve been using random forest to predict the next day change,... |
I've seen the recommendation that binary inputs to a neural network should be encoded as -1 and 1 rather than 0 and 1 in a few places on the internet (here and here).
Does anyone know of a published peer reviewed citation that supports (or opposes) this recommendation?
|
I have found information about similar topics, but wasn´t useful for me.
I have the next 2 signals registered by a laser profilometer.
As can be seen in the picture the signals are almost equals but are not in phase. What i need is to displace the red signal over the blue one finding the more likely point of union to ... |
I have a scholar question about the Weibull distribution, which can be parameterised, among other options, like follow:
$f(t)= \lambda \alpha t^{\alpha-1}{exp} \left \{ \lambda t^\alpha \right \}$
I understand that the Weibull is in general not part of the Exponential family. However, I also have read that if we take ... |
I struggle to simulate linear mixed model data for the following within-subject within-item factorial design (with crossed participant and item effects) where the categorical independent variable has three levels:
\begin{aligned}
&Y_{c,s,i}\ =\ \beta_0\ +\ S_{0,s}\ +\ I_{0,i}\ +\ C_{0,s,i}\ +\ \left(\beta_1\ +\ S_{1,s}... |
If one invokes acf() function in R the estimated acf values are plotted together with blue error lines. What are they (the lines)?
|
I have small convolution neural net for classification EEG patterns (2 class problem) with several conv layers and one dense layer. This net performs pretty well. For education purposes I used convolutional part of this pretrained net (all net except dense layer) to extract features from training samples. So this new ... |
I know there are a lot of questions along this vein, but none seem applicable to the data I have.
Essentially I have run a one-way ANOVA using a variable composed of 4 different groups (A:D) and the scores of each participants in these groups on a test. I don't know how/ if I should remove the 3 points highlighted on ... |
What are some of the criteria for choosing one family over the other of experiment design methods ? How does this choice relate to the model of the response ?
I left factorial / fractional factorial out of the title because I see them as special cases of optimal experiment design when the number of runs/candidate poin... |
If $$X=\left(\begin{array}{c}
X_{1}\\
X_{2}
\end{array}\right)\sim N\left[\left(\begin{array}{c}
\mu_{X_{1}}\\
\mu_{X_{2}}
\end{array}\right),\left(\begin{array}{cc}
\sigma_{X_{1}}\\
\sigma_{X_{1}X_{2}} & \sigma_{X_{2}}
\end{array}\right)\right]$$ and $$Y\sim logN\left(\mu_{Y},\sigma_{Y}\right)$$ then, which is the dis... |
I'm working on a computer vision problem and I want to use the Mahalanobis distance to cluster image patches (2D matrices having the same dimensions). I haven't been able to find any generalisation up to this point and would prefer not to vectorise my patches and end-up with a huge covariance matrix.
Since the exponen... |
When building out a graph with vertices and edges, and each edge is directional with a single source and target, should the relationship:
1) Have the parent as source and point to the child
2) Point upstream towards the parent?
At this stage I can't think of a reason why either would be better in my project, but I'm ... |
I gave a 12 item true-false quiz (which I created) to my 19 students.
I noticed that some questions were very obviously easier than others, so I decided to run an item analysis. By looking at the item difficulty results, it does seem like that's the case. I am thinking of re-administering the quiz and excluding items w... |
I am using Coxnet package for a dataset of 457 observations and 180 variables and also for another dataset of 457 observations and 25000 variables.
set.seed(1234)
fit <- Coxnet(x,y,penalty="Lasso")
After creating the model I get some values as follows:
The path of lambda:
lambda nzero
1 2.144e-01 0
2 1.776e-... |
Data
My data is the observation of a set of signal-broadcasting devices. For each second of collected data, my feature set has a 1 for devices that are observed and a 0 for those that are not (absence of a device is important). The way I collected this data uses a sampling method where I stand in several spots around... |
In reading up on the Expectation-Maximization algorithm on Wikipedia, I read this short and intriguing line, under the subheading "Geometric Intuition":
In information geometry, the E step and the M step are interpreted as
projections under dual affine connections, called the e-connection and
the m-connection; the Kul... |
I have an assignment, i have three data sets. It appears two sets have trends, and the other does not. When i undertake unit root tests do i need to estimate them all with a trend or can i interpret them as unique series?
Edit: I have been given data on the spot rate of 5 countries in terms of USD. CPI data for the US,... |
The problem that I having is that I'm unable to choose a split. First, consider this picture
.
So I have found the root node, i.e., the "age", going down the branches of the "age" I found that there are 3 child nodes. What I've learned is that I should split attribute with the highest impurity. In this example, t... |
Let
$$
\theta_i\sim N(0,1), \quad i=1,\ldots,N
$$
and let
$$
\theta_{i_{\max}}=\max{\theta_i,\quad i=1,\ldots,N}.
$$
Assume that we now observe data independently from
$$
Z_i\sim N(\theta_i,1).
$$
Let
$$
Z_{\max}=\max Z_,i=1,\ldots,N.
$$
I leave $\theta_i$s fixed and resample $Z_i$s from their distributions 100... |
I am trying to understand Naive Bayes. One of the principles of this method is to assume independence across features in the datapoints.
Given this assumption are two distinct features independent given a class C, or are they when marginalizing over C? Or both?
I am a bit confused, haven't studied probability in a whil... |
I was talking with someone I know about the dropout method, and I realized we had different conceptions of how it worked. My impression was that there is one mask sampled per minibatch. His impression was that for each datum in the minibatch, we sample a different mask. So if there are three training examples in our mi... |
I am using a continuous variable of body mass index. I checked the distribution using statistical tests and determined it is not normally distributed. I think these results are driven by outliers, there is a huge number of them. How can I deal with outliers? I am going to use this variable as a dependent variable for a... |
I have temporal twitter data, and I want to calculate propensity score for the treatment and control group. The problem is, the treatment happened at different time for different user, and I want to compare aggregated values for covariates. For example, for user a1, treatment occurred after six months of account creati... |
I have some waiting times $y_i$ and some explanatory variables $x_i$. I am trying to create a model where each $y_i$ follows an exponential distribution with rate parameter dependent on $x_i$. What is the usual way to do this? Of course the rate parameters must be constrained greater than $0$. I have thought of fitting... |
Surely this sort of problem must have a name. Because it does not have a well defined answer, I am asking for (1) the name of this type of problem and (2) for general approaches to this question that make various kinds of assumptions.
For a clear example of why this problem does not have a well defined answer, take the... |
I'm trying to understand the description about gradient boosting in the light-gbm paper as in the picture below.
(Link to paper: https://papers.nips.cc/paper/6907-lightgbm-a-highly-efficient-gradient-boosting-decision-tree.pdf).
In particular, my question refers to the formula in the definition. In gradient boosting tr... |
I have a dataset that is survival data for 3 different treatments, single time point data (ie: % survived at end of treatment), with an n=10*3 for each treatment. This data is non-parametric, which I verified. So I have analysed difference with a Kruskal Wallis, which has in this instance given me a statistically signi... |
I am looking to clean up a large data set (~300) with a large number of features (~140). I would like to explore outliers in the data. My first thought was to use PCA to reduce these features to a few components that explain most of the variance, and then exclude outliers of these new n factors.
However, there are a ... |
Could you please help me calculate the minimal sample size in order to detect an interaction effect?
I have estimated effect sizes (% of successes) of binary variables:
A - 0.055 (5,5%)
B - 0.065 (6,5%)
AB - 0.075 (7,5%)
When all variables are at zero - 0.05 (5%)
And the factorial design is (used for simul... |
Consider a simple Bayes net of linear Gaussian, $A\rightarrow B \leftarrow C$. If $B$ is observed, $A$ and $C$ are hidden (assume we have set priors for the hiddent variables), can we use belief propagation to infer the values of $A$ and $C$?
|
I am selecting among a set of linear models that contain a harmonic regression model with up to four sine and cosine pairs.
For visualization purposes, here is an example of the harmonic model with one and two sine/cosine pair.
omega1<-1/24
beta1<-1
omega2<-2/24
beta2<-2
t<-0:23
f1<- beta1*cos(2*pi*omega1*t) + beta1*... |
I have an experiment with 3 groups:
group 1 got no email
group 2 got an email with 10 dollars incentive
group 3 got an email with 20 dollars incentive
to convert to a specific product.
Conversion rates are as follows:
group 1 - 1.2%
group 2 - 1.3%
group 3 - 1.6%
I am looking at pairwise significance tests, and I ... |
I recently read a chapter about Subjectivist notions of Probability in Gillies (2012) and I stumbled upon the concept of exchangeability as the Bayesian version of independence (or something similar at least). No I understand that stochastic independence prohibits me from learning from experience when I repeat an exper... |
I am trying to determine the confidence bound and significance for linear trend in temperature time series (january average values over 30 years). Is it possible to apply pairwise (temperature-year) block bootstrap for trend's slope (such that it preserves dependence) and obtain the confidence bound? I have found artic... |
This is probably a pretty simple question for most of you.
I have weekly amount of users from last 2 year till now for 2 traffic sources. Want I want to figure out is to see in which periods these sources deviate from the trend. Regarding trends I do not know which model to choose.
Since the traffic is very seasonal I ... |
In Bayesian statistics, you have a likelihood and a prior, $f(x_1,\ldots,x_n \mid \theta)$ and $\pi(\theta)$ respectively, and you use these to obtain the posterior $\pi(\theta \mid x_1, \ldots, x_n) \propto f(x_1,\ldots,x_n \mid \theta) \pi(\theta)$. Occasionally there are situations where a) the data arrive very quic... |
I have dataset of 4000 students and for each student I recorded following variables:
1) Gender (Male or Female)
2) Dev score (a score on 1 to 10. The scores are in integers only). The dev score is basically the score of a child in the intelligence. Higher values represent more intelligence.
3) Diag score (a score on... |
On the coursera stuff, it is all good, but lack of tutors means some questions are not answered and in the short time only so much can be covered. My university stats days are long behind me.
My understanding is that for determining weights / coefficients for N feature / variable Linear Regression model, that Gradient ... |
I have data that shows the number of disease cases in the summer versus the winter for 40 different sites. For example:
Winter Summer
site 1 133 23
site 2 198 11
site 3 2029 131
... ... ...
There are substantial differences in the ratio of summer-to-winter cases across site... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.