instruction stringlengths 9 38.7k |
|---|
I have collected data from a dot probe attention bias (reaction time) task. I've computed summary scores for each condition, however, some people suggest it's important to also look at trial level variability. The computations for trial level variability seem complex and I am not sure what program and how to run these ... |
I have data (5 different vectors of samples A, B, C, D, and E) and I cluster this data into 3 clusters using AgglomerativeClustering with the Wasserstein distance as the metric.
data= np.array([
[5, 0, 2, 2],
[1, 6, 0, 2],
[7, 2, 0, 0],
[3, 6, 0, 0],
[7, 0, 0, 2]])
I used the following code to clus... |
While learning about neural networks, I stumbled upon this really cool resource where you can tinker around with NN's architecture and hyperparameters in a point classification problem.
What I'm confused about is the meaning of the input layer which they call the "features."
Since the data is just points, I would assu... |
Is it acceptable to have a quadratic interaction term in OLS regression? Does this violate the assumption of OLS regression as predictors should have a linear relationship?
|
Question
Please help understand why the eigen vectors do not match below. If there are misunderstandings or incorrect place, please correct too. It would be much appreciated.
Eigen decomposition
According to eigen decomposition, a matrix A can be decomposed as $A = PDP^{-1}$. Trying to implement it and verify by using ... |
I have a list containing the video game scores of around 2000 players. The scores range from 0 to 20. I want to create 3 categories of players: Good players, mediocre players, and bad players.
The simple approach would be to create 3 bins with equal ranges (13.33-20 (good), 6.66-13.33 (mediocre), 0-6.66 (bad)). However... |
I'm trying to analyze political effects in US Presidential elections.
Red States= Republican wins by >=5%
Blue States = Democrat wins by >=5%
Battleground States = In-Between
Hypotheses:
H1 Null Ho Red vs Battleground is more Signif than Blue vs Battleground in affecting Y
H1 Alternate HA Blue vs Battleground is more S... |
I have two questions in front of me, first is :
A random sample of size 35 is selected from a population that is normally distributed. If the mean and the standard deviation of the sample is 75 and 8.5, respectively, then find the probability that the mean of the population is more than 78.5.
and second one is :
A r... |
I want to prove This formula:
The score function is basically the derivative of the maximum likelihood's log, so to get the information I make another derivative of that:
$$ -E[∂/∂θ s(X;θ)] = -E[∂/∂θ (∂log f(X;θ) / ∂θ)] = -E[∂^2/∂θ^2 log f(X;θ)] $$
Now I did
$$ -E[∂^2/∂θ^2 log f(X;θ)] = -E[(∂^2/∂θ^2 f(X;θ)) / f(X;θ)] ... |
Can neurons in Hopfield Network have non-binary values ( continuous values instead of -1 and +1)? If they can have non-binary values , is energy expression for hopfield NN stays the same? What is the main condition for Hopfield energy to stay consistent? I am aksing this particularly because I am wondering if we could ... |
I have often seen the following statement:
If $X$ and $Y$ are independent random variables, then their 'correlation' is $0$
What is meant by 'correlation'? Is it specific to measures of linear correlation? Or does this claim apply to non-linear measures of correlation, as well? (e.g. if $X$ and $Y$ are independent v... |
How to prove that $\text{var}(X_1X_2)\geq \text{var}(X_1)$ when $E(X_2|X_1)=1$ ?
I just try $\text{var}(X_1X_2)=E(X_1^2X_2^2)-E(X_1X_2)^2$ and $\text{var}(X_1)=E(X_1^2)-E(X_1)^2$,
but then I do not know how to proceed.
|
I am working on DQN and have confused myself with Epoch and Episode. I have gone through this answer but the confusion is increased.
I will explain my scenario and would like to understand the difference through it if anyone could guide me better.
Here is my scenario:
I have written a DQN Agent with the following prope... |
I would be happy if someone gives me a hint for two following questions in Machine Learning - related application of Classical Multidimensional Scaling in Matlab:
1.) It is recommended (but in my experience rarely done) to apply feature extraction (and hence the feature projection methods as Classical Multidimensional ... |
Regarding boosting in the context of machine learning. One definition I have encountered talks about turning multiple weak learners into one strong learner, and another talks about starting with a prediction and iteratively improving it by learning predictors for residuals (such as gradient boosting).
The questions I h... |
I want to know if the values of $x$ in a regression function, especially in the field of econometrics, can have the same values, for example the number 3.
And in that case, we will still have a regression function???
I need to prove this matter in the form of a formula and a concept.
|
I was solving an exercise for a probability theory course and stumbled upon the following problem.
Given a continuous random variable $X$, and $\max(a,b) = a$ if $a > b$ and $b$ otherwise, is
$$
E[\max(X, 0)] = \max(E[X], 0)
$$
true in general?
|
In the context of PAC learning, why it is true to say that if an algorithm A is a PAC-learning algorithm, then the sample size required by it must also be polynomial, i.e., how to properly interpret the highlighted part in purple? And what implications can be made from the statement?
|
I have data on a group of individuals who have been given a new tool to trial on to help with reducing the average time needed to perform certain task. There are two metrics we look at to measure performance, overall reduction in average time performing a task, and the percent accuracy of the completed task. The overal... |
I was reading the article "Canonical thresholding for non-sparse high-dimensional linear regression" (It's available here: "https://arxiv.org/abs/2007.12313"), In the discussion about the choice of the threshold parameter they suggest that they can use Cross-validation, I know how to do it for the tuning parameter of L... |
Suppose I want to use Monte Carlo to compute some probability $p$. A single MC simulation will run for $R$ iterations and calculate $p$ as the fraction of 'successes'.
Say I want to compute $p$ within an error of $E$ with a 95% confidence interval. That is, I want to find $R_0$ such that if I run the MC simulation for... |
I have a dataset of observations of hawks foraging. I am trying to examine the relationship between height of perch used (continuous independent variable, integers of 0 through 10) and outcome of a foraging attempt (binary: success or fail). I'd like to answer the question, are hawks more successful at shorter or talle... |
I am currently trying to analyze the duration of the egg stage of two species of insect (factor 1; 2 levels - HA and AP) at several different temperatures (factor 2: 5 levels - 20, 23, 26, 29, 32) using a cox proportional hazards model:
modelegg <- coxph(Surv(egg.na.1$Duration.egg) ~
egg.na.1$Temperature... |
I am looking for a function in R, which executes Ng and Perron (2001) unit-root test and computes all 4 test statistics like in eViews:
So far I have read vignettes of packages bootUR and CADFtest, but they do not seem to contain the test in the same form as the picture shows.
|
I am struggling with assessing the best weighted regression type/model specification for my problem.
The goal is to determine influence of independent variables towards the outcome (dependent variable), so estimators and their standard errors should not be biased.
Dependent variable is a proportion (so ranging between ... |
Variance equation for a probability distribution:
$$
\sigma^2 = \sum_{i=1}^{N}(x_i-\mu)^2P(X=x_i)
$$
Standard variance equation:
$$
\sigma^2 = \frac{1}{N}\sum_{i=1}^{N}(x_i-\mu)^2
$$
I understand that since the expected value of a probability distribution is the same as the mean, the expected value of the square deviat... |
When tuning regularized models, two techniques appear to be especially popular at the moment:
Cross-validation performance on train & validation splits (the third, test/holdout set is not used in the tuning step or model selection, but only to report an estimate of the "true performance" in the wild.), see below:
I... |
I know that the Gamma distribution is the conjugate prior of the Poisson distribution, such that given $\alpha$ and $\beta$ that describe the prior distribution, the posterior distribution is $Gamma(\alpha + n\bar{y}, \beta + n)$, where $n$ is the total number of observations and $\bar{y}$ is the mean of the observatio... |
I am writing out a t-test by hand and I am confused about how to mathematically express the step of calculating / looking up the $p$-value of the t-statistic. This is what I have so far from the following example:
Suppose I take a random sample of size $n=36$ (assume CLT holds) from a population with mean and standard ... |
When making inference about mean, i.e. when constructing a confidence interval for approximating population mean, in exercises there always provides a population SD, a.k.a. sigma, for us to solve the problem. But I highly doubt why can this be the case. As long as we know the sigma, that implies we already know the mea... |
Let $P$ be a Poisson point process with rate $\lambda$. If it is known that $P(t) = n$, how can we retroactively derive the conditional distribution of $P(k)$, where $k=t-s$ for $s<t$?
My idea: The expected value of $P(k)$ is $n-s\cdot \mathbb{E}(f(x; \lambda)) = n-s\cdot \frac{1}{\lambda}$, where $f$ is the exponentia... |
I am confused about how to run a formal parallel trends test for my DiD study. Here is an overview of my data.
There are 25 districts in the treatment group. Each district has data on district-level average income for five periods (P1, P2, P3, P4, P5) each year from 1900 to 1910.
There are 60 districts in the control g... |
I'm trying to compare three conditions (A, B, C). And I have a question about the sample size in this experiment.
There were 27 participants, and each participant listened to 20 songs for each condition. (I have counter-balanced the order, and 20 songs were the same for everyone.)
So the number of the result for survey... |
I am running a model testing the interaction of two categorical variables (AKA factors), one with two and the other with three groups. I have done many readings but couldn't find an answer regarding how to interpret the p-values I get, especially considering that what I understand does not make any sense when I look at... |
I have airline time series. Here is the tsplot
The data clearly seems non-stationary to me. However, ADF test produces a p value of 0.01, indicating that the data is stationary. Any idea why?
|
I am performing a linear mixed-effect model.
library(readr)
library(nlme)
data = read_csv('data/data.csv') #131 observations, 22 variables
head(data)
states year green…¹ it preCAPE prePr preRH preTEMP preVPD preWS
<chr> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
1 AK 2011... |
In a probability and statistics class, we are often told about the requirement of residuals being uncorrelated when fitting a regression model.
We are often told that the reason for this requirement is that the absence of this usually suggests low quality data.
But mathematically, is there a mathematical reason as to w... |
In continuation to this question, Non linear to linearly seperable
I am trying to understand if we do not want to transform to a higher dimension is it possible to still find a feature map that maps non linearly separable data into linearly separable data. If yes whats the intuition. For example in the image below I am... |
When can we construct prediction interval and we can't: What factor govern this?
One of the way to constrained forecast to an interval is using a log transformation.
For ex: if we want forecast to be between (a, b) we would use y=log((x−a)/(b−x)) transformation.
What is the impact of this transformation on predicti... |
Say I want to estimate the following with OLS:
$$y_i = \beta_0 + \beta_1 x_{i,1} + \beta_2 x_{i, 2} + \beta_3 x_{i,1} \times x_{i, 2} +\varepsilon_i \cdots (1)$$ for $i=1, 2, \cdots, n$
Now assume that $x_{i,1} = z_{i, 1} + z_{i, 2}$, that is, the independent variable $x_{i, 1}$ can be decomposed into the sum of two ot... |
Problem is following: Let $A$ be an event, a subset of the sample space $B$. Are $A$ and $B$ independent?
I found this exercise online and it said that $A$ and $B$ are independent but I don't think so because $P(A|B)=1$ which doesn't always equal to $P(A)$
Why am I wrong?
|
I have a study design with repeated measures (10 assessments per day for multiple weeks). I was asked to make a simple bar plot for several variables. It would seem odd to me to show the bar plots without standard error bars. However, I don't know how to calculate standard errors in the case of repeated measures.
Do I ... |
The Ramsey RESET test uses the fitted value of y to test nonlinearity, for example:
$$
y_i=x_i\beta+\epsilon
$$
$$
\hat{y_i}=x_ib
$$
$$
y_i=x_i\beta+\gamma\hat{y}^2_i+u_i
$$
Test if $\gamma=0$
Why do we use $\hat{y}^2$ but not $x^2$?
|
tl-dr: The function model.fit() is different from transformer.fit(). My idea is to make all transformations needed on the training set and after that on the test set with fit_transform in both.
Hi!
I'm learning about machine learning and I'm pretty confused about one thing. I read in a book that we should split the dat... |
Here, page 5, it is stated that probability of default is an elusive concept:
Thus, the realization of the random variable "default of firm n at time t" is governed by its PD if a firm has survived until t-1. Therefore $\lambda_{nt}$ is the true but unknown probability of default of firm n at time t. As Hilden et al. ... |
I made the following example to understand more about combining probabilities.
Let's say we have 3 coins hidden inside 11 boxes (3 boxes each have 1 coin and the other 8 have 0 coin). So the probability of finding a coin inside a box is 3/11.
Someone give us additional information which is that the right 10 boxes have ... |
I am trying to compare distances matrices belonging to two species matrices. One is bacteria and the other is ectomycorrhizal fungi. Both species matrices were generated from the same plant roots using different extraction methods.
I want to compare the species composition between the two matrices to determine if the b... |
I measured the change in three traits (y1, y2, y3) over time (x). The three traits each reached a maximum at different times and then declined. I am interested in the phase until the max and would like to fit Gompertz curves in the following form:
$$
y = \alpha \exp(\beta(1−\exp(−\gamma x)))
$$
as the estimated paramet... |
The goal of my project is to reduce a metabolomics dataset of around 1000 to sets of varying size in order to attempt to identify reduced feature sets that can serve as biomarkers for predicting changes in plasma markers in response to an intervention.
The fewer the biomarkers, the better, though there will obviously b... |
Take two binary random variables $G,Z$ and a continuous random variable $\eta$.
Assume
$$
\Pr(G=1|Z=1, \eta)=1 \text{ almost surely}
$$
and
$$
\mathbb{E}(\eta|Z=1)=0
$$
Could you help me to show that this implies
$$
\mathbb{E}(G\times \eta|Z=1)=0 \quad?
$$
If this implication is wrong, could you explain why?
|
I'm trying to figure out which method to go about calculating an equation based on variables from my database. I have the variables sex, which is 0 for males and 1 for females. I also have serum creatinine which I want in the case of females to be either $\leq 0.7$ or >0.7 and in men either $\leq 0.9$ or >0.9.
I've got... |
I have a corpus with 3 classes and am attempting to interpret which features can be considered as indicative of a class.
I went about it in a one-vs-rest way with SVM and performed binary classification, like class 1 versus 2+3, then 2 versus 1+3, and finally 3 versus 1+2. And then, for each classifier, I got the featu... |
I am following a book which states that the diagonal elements of $C = (X'X)^{-1}$ are called the variance inflation factors:
$$
VIF_j = C_{jj} = \frac{1}{1-R^2_j}
$$
where $R^2_j$ is the coefficient of determination if the $x_j$ variable is regressed on the rest of the variables. When I calculate this $C$ matrix, I get... |
I am new to Bayesian. I want to draw data from the posterior predictive distribution p(y|D).
Do we need to find the CDF of the posterior predictive distribution and use the monte Carlo method or is there another way for simulation in bayesian?
my model has a complicated posterior predictive distribution p(y|D), so I ca... |
I trained a CNN model with 6 different classes (labels are 0-5) and I am getting more than 90% accuracy out of it. It can correctly classify the classed. I am actually trying to detect anomaly with it. So what I want is, if any data comes which my model has never seen before or never been trained on similar data then i... |
I have dataset composed of samples (here corresponding to sites), species, environmental variables linked to the species (e.g.: species biomass, abundance and size) and explanatory variables (Temperature, oxygen,…). The number of explanatory variables is quite consequent. So I wanted to do a PCA on the explanatory vari... |
Suppose I have random variables $X_1,...,X_N$ with $X_j\sim Bernoullli(p_j)$, and I have a random sample of size $n$ on them: $(X_{1i},...,X_{Ni})_{i=1}^n$. How to test $H_0:X_1,..,X_N$ are mutually independent (vs $H_1:$ they are not mutually independent)?
A candidate test statistic I can think of is constructed as fo... |
I've been wracking my brain over something that seems very simple. I am working with a variable $Y$ that is a weighted sum of a series of data points. Each data point $X_i$ comes from the same distribution. That is, $Y$ is not a sum of different random variables.
$$Y = \sum_{i=1}^N w_i x_i$$
The weights are normalized,... |
I have already seen several related questions: 1, 2, 3, 4, 5.
The answer to 1 states
Regularization attemts to reduce the variance of the estimator by simplifying it, something that will increase the bias, in such a way that the expected error decreases.
How do we show, mathematically, that regularization (say $L_2$ ... |
So this is my forest plot off a dataset found here
'Ejection' Fraction clearly has something over the other variables.
I have written:
Ejection Fraction is the only significant variable from cox regression that does improve survival rate probability when it is present (these are all variables with values < 0.05.
Wou... |
In a book called 'Analysing Seasonal Health Data', the time series dataset - CVDdaily was expanded by 'casecross' function,
casecross(cvd~o3mean+tmpd
+Mon+Tue+Wed+Thu+Fri+Sat,data=CVDdaily,
stratalength=28,exclusion=6)
and I cannot understand why we need to expand the dataset in order to fit the co... |
For a multi-class model, there are always chances that the model is learning one class's features more than the other. But how do I find which class has been weakly learned? Please help.
|
It is known that variance of AR(1) $y_t=\phi y_{t-1}+\varepsilon_{t}$ is
$$\text{Var}(y)=\frac{\sigma_\varepsilon^2}{1-\phi^2}$$
Let $\varepsilon_{t}$ has continuous uniform distribution on $[-1, 1]$ and $y_0 = 0$
How can we estimate how often a process will go beyond given interval $[-a, a]$?
|
I have historical transaction data for a B2B business. I want to prepare acquisition models where the model will predict the potential buyers who haven't purchased from the business yet.
In addition to the transaction data, I have customer data where I have the details about the different businesses in the region (Thei... |
I want to predict the future data given the time series data with SARIMA model.
In order to determine (p, d, q) and (P, D, Q, m), I plotted the ACF and PACF.
The ACF graph shows that there is a seasonality of 24 intervals, so I set the m as 24.
However, I don't know how to set, p, d, q, and P, D, Q.
In other example, ... |
I am doing VECM of prices of meat. This one result confuses me. This one shows that P_F and P_R has a positive relationship. This can be interpreted at 1% of P_R is 0.18% of P_F. However it also shows that there is a negative trend. Can this mean that the P_F and P_R are both decreasing in the long run? The results are... |
As title says I would like to understand why there are so many tutorials and notebooks showing how to fit 1 dimensional functions with neural networks instead of polynomial regression. What are the advantages of using MLPs? do they generalize better? 1re they more powerful function approximators?
|
Say I am interested in looking at the 5 year occurrence of an serious adverse drug reaction including mortality occurring in a group of patients being treated for a disease.
I would imagine that because we are looking at the odds of whether someone is alive or not/experienced hospitalisation for the ADR or not at the t... |
There are cases (arguably the vast majority) where the data distribution is unknown. Confidence intervals make sense for the class of "nicely" defined theoretical pdfs ie Gaussian.
In this case, we know that additional samples help to derive the characteristics (statistical moments) of the pdf.
However, there are other... |
Suppose I have a structural equation
$$y=\beta D+\alpha X+\epsilon,\;\epsilon\sim N(0,1)$$
and a first-stage equation
$$D=\gamma Z+\eta X+\xi,\;\xi\sim N(0,1)$$
where $D$ is a continuous endogenous variable, and $X$ is exogenous, $Z$ is an instrumental variable that takes a binary value 0 or 1.
I want to simulate this ... |
I need some clarity on the following statement:
"Statistically significant result, then there was - by definition - sufficient statistical power."
Is this right? if so how?
|
I'm building a classification model to predict some target variable.
I have only one continuous feature (age) that I am interested in scaling. I split my data into train and test sets, I scale this feature separately in both the train and test (using the scale() function in R), and only then do I train the model, using... |
I am interested in knowing if the same phenotypic structure holds across six different datasets. First, I have done six different multivariate analyses for my six different datasets (using MCMCglmm). For each resulting multivariate analysis, I obtained the correlation matrices (as I have repeated measures for different... |
I am keen to learn more about panel data models using python, but I do not find related courses or many resources online. In particular, I usually find general statistics courses with Python or, courses that are specific for panel data regression but in R. Any chance anyone has suggestions/places where I could look at?... |
What is the intuition, whether geometric or otherwise, to scale 1D scalar data to 0 mean and unit variance? The zero mean seems straightforward, particularly for ML algorithms, but what is the significance of unit variance? Why not scale by just the max in the data so that the data is bounded to [0,1]?
|
I have a question regarding how to use ANOVA appropriately in my paper. The following is my sample data.
The mice are randomly selected. The first row is the control group as health mice. There are four treatments applied to the mice.
In my writing, I can run the ANOVA function to generate results, but I am unsure how... |
I've seen some questions on inter-rater reliability here for categorical variables. I'm wondering what would be an adequate approach to test inter-rater reliability between two raters for a numeric variable ?
Suppose, for example, that I have two teachers assessing students on a test and I need to check the teachers (... |
I am currently trying to look at how the likelihood of reaching a particular insect life-stage (in this example 1st instar) is influenced by both temperature (factor: 6 levels - 20, 23, 26, 29, 32, 35 degrees Celsius) and species (factor: 2 levels - HA and AP).
Here is an example of what my data looks like
Temperature ... |
I would like to calculate what effect size a given sample size, in a multiple logistic regression, is sensitive to detect.
Do you have any advice? Is there a way in R?
|
I'm working through the math of ridge regression and am having some trouble replicating some R functions. My question is NOT about R, per se, I will just use it here for a reproducible example but really am trying to learn how to build an implementation. I'm assuming the R code implementations are correct and that mine... |
I'm trying to tune hyperparameters for XGBoost using RandomizedSearchCV. I have five outputs and I guess that might be the reason that I can't run RandomizedSearchCV or GridSearchCV to tune hyperparameters. Running this code:
params = { 'max_depth': [3, 5, 6, 10, 15, 20],
'learning_rate': [0.01, 0.1, 0.2, 0.... |
I am applying various regression algorithms, such as RandomForestRegressor, AdaBoostRegressor, KNeighborsRegressor ...etc.
I fit these models on training data (only 1 feature for simplicity), and intentionally leaking the training data to observe the prediction accuracy. In other words, I am using the training data as ... |
I'm very rusty on statistics, so go easy on me haha.
I'm trying to compare two sample sets of values to see if there is any significance difference between the two means. From memory, an unpaired t-test should be able to do this? The issue is that one set has zero variance, so do I use an equal variance test or an uneq... |
I have a longitudinal dataset with several binary variables, along with an id variable and a time variable. In my research project, these binary measures are observed behaviors during a videotaped task (0 = absent, 1 = present) and I am interested to examine how the behaviors correlate over time and which (if any) vari... |
In Section 6.3.1 of the paper "No Subclass Left Behind: Fine-Grained Robustness in Coarse-Grained Classification Problems", it is mentioned that the algorithm proposed by the paper has better-than-random precision. What does better-than-random precision actually mean? Could you please help me understand this concept wi... |
Formula
log(sale) = price+ads_rating_tv+ads_rating_banner+Jan+Feb+Mar+May+Jun+Jul+Aug+Sep+Oct+Nov+Dec+time+North+South+West+East+time
Variable
sales = unit sales
price = price of product
ads_rating_tv= rating from ads on tv
ads_rating_banner= rating from ads on banner
month (categorical) = Jan, Feb, Mar, Apr, May, Jun... |
The setting is comparing two independent groups represented by random variables $X$, and $Y$. The common language effect size / probability of superiority / relative effect ... is defined as $p(X,Y)=P(X<Y)+0.5P(X=Y)$.
I am wondering what happens if we assume that $X$ and $Y$ are generated from latent variables such tha... |
I am trying to show the last equality with steps:
Where, Wi is the treatment status and the treated sample is Nt, while the control sample is Nc.
I cannot find my through it.
Anyone has an idea?
|
I would like to calculate the values of the concentration ($\kappa$) and mean direction ($\mu$) for a von Mises mixture model from the theta values given by the movMF() function in R. At the bottom of this message-chain there is a similar question with an example for a two component vonMises. The solutions seems to be ... |
Assume that we only consider $$G(x)=\exp(-\exp(\frac{x-\mu}{\sigma}))$$ is the Gumbel distribution.
Question: Suppose we have a set of maximum values $\{Y_i\}_{i=1}^m$, why can the article directly (for example: here) use this set of maximum values to fit the Gumbel distribution based on the maximal likelihood method
?... |
I have created a ratio dataset - representing the number of rejections/total number of applications. There are some instances in which none of the applications will have been rejected, resulting in a 0 ratio score. However, there are also some instances in which there were no applications, resulting in NAs.
I am undert... |
Suppose we run an AB test wherein users in the treatment are shown some content and users in control are not shown the content. For all intents and purposes, it could be a button. Clicking on the content is optional. After the experiment is done, we can compare treatment and control groups on some binary outcome.
The... |
It is well known that many sigmoid functions are approximately linear around x=0. I am looking for a sigmoid function that has a parameter that controls the length of this segment. I want to measure the length of this segment by its projection onto the y axis. Edit: The sigmoid function should map to the interval [-1, ... |
I'm struggling with some basic concepts regarding the definitions of random variables.
If I'm not mistaken, random variables are functions which aim to "translate" outcomes of a sample space to a measurable space. As an example, the sample space composing the possible outcomes of a coin toss would be "head" or "tails".... |
I'm an undergrad student working on a small research project while studying abroad and I was looking for a statistical test that I could use to compare species richness between three forest types.
I collected data on the species richness of moss (i.e. number of unique moss species) for 4 replicates of three forest type... |
Working through digit recognition on the MNIST data set, one of the example problems reduces the dimensionality of the feature set, which is 768 samples, down to 18 using PCA. For illustration purposes, we project the input examples onto the principal components.
What exactly does this projection mean, how should it b... |
I was looking through the answers to this question, and all of them seem to have some form of symmetry between the variables.
I'll walk through the examples in that question so you can see what I mean.
Coin Game Example
$Y = \pm X$ and $X = |Y|$ (symmetrical functions)
The $x^2$ and $x$ Example
Both the uniform distrib... |
I am taking a course in Statistics and our prof showed us a real survey that was recently in the news. In a country with a population of roughly 30-40 million people, only 1000 people were asked about their opinion on a controversial political question (e.g. should more money be invested in healthcare?). The results in... |
out of curiosity, I wonder if there is a solution for the expectation of the product of two chi-square variables (or the variance of the product of the normals).
Say: Let $(X,Y)$ be jointly normal, with mean 0 and covariance matrix $\Sigma = \begin{pmatrix}
\sigma_{1}^{2} & \sigma_{12}\\
\sigma_{12} & \sigma_{2}^{2}
\e... |
The question is exactly on the title. I am building a VAR model for a specific commodity. The AIC and BIC suggested 1 lag. However, that coefficient in lag 1 is not significant in my model. Can I still forecast using this model or is it justified to add lags? If I add lags, how much lag needs to be significant until th... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.