instruction stringlengths 9 38.7k |
|---|
In an effort to understand AIC more intuitively, I created a synthetic dataset with the following:
df <- data.frame(replicate(10,sample(0:1,1000,rep=TRUE)))
df['Y'] <- (runif(1000,0,2) + df$X4 + df$X5) < 2
When I run summary(glm(Y~., data=df, family = 'binomial'(link='logit'))) I get this output:
Call:
glm(formula = Y... |
In the book Independent Component Analysis (Hyvärinen et al. 2001), it is mentioned on page 178:
The advantage of such gradient methods, closely connected to learning in neural networks, is that the inputs $z(t)$ can be used in the algorithm at once, thus enabling fast adaptation in a nonstationary environment
What d... |
I've just found the following paragraph in a published article, where two dimensionless forms of RMSE are used, namely: relative root mean squared error (RRMSE) and root mean squared relative error. My question is: the is the difference between them? And, can we use the rules of thumb provided with the RRMSE (e.g. <10%... |
Suppose a random variable $N \sim \operatorname{Pois}(\mu)$, with Gamma conjugate prior such that $\mu \sim \operatorname{Gamma}(\alpha, \beta)$. Then given a sequence of $n$ observations of counts $\mathbf{k} = (k_1, \dots, k_n)$ in the next $n$ units of time, then the way to derive the posterior distribution of $\mu|... |
I have count data looking at the frequency of crime around Day of the week and Location. I used a glm with a Poisson distribution to model the data.
glm(freq~DayOfWeek+Location,family='poisson')
Would this be appropriate to do? If I wanted to look at if crime was more frequent during a specific time in a specific area... |
I have a binary classification problem, with about 500 rows of data and 50 features. Due to the nature of the data, it seems SVM is the best solution to it. But the problem is that for some reason, the un-tuned, out of box implementation via sklearn SVC algorithm performs better according to F1 score than the tuned ver... |
Say there are 900 million known Twitter accounts in existence. How would I determine the number of "active accounts", that is, can be expected to tweet in the next 30 days? Based on the following observation.
I maintain a database of information about Twitter accounts. I'm getting a stream of live tweets from Twitter... |
I want to do prediction using a ridge regression fit using the glmnet package. There are 2 options of the standardize parameter; 1) standardize=T (which is the default) and 2) standardize=F. I was thinking standardization of the data prior to regression is just for interpretation of the coefficients and it would not af... |
What statistical or machine learning methods do companies like Lending Club use to segment their customer base into loan grades A1-G5? What would a reasonable partitioning method look like after running, say, a simple regression?
|
The conditional distribution of $Y|X=x$ is Normal$(x,1)$. The marginal distribution of $X$ is Normal$(0,1)$
Find the distribution of $Y-X|X=x$.
I notice that since the conditional distribution of $Y$ has $x$ as a parameter, this implies that $X$ and $Y$ are not independent. Which is unusual because in my courses th... |
I'm trying to handle a case where I have:
E[X|Y,Z] where I know X is dependent on both Y and Z, but Y and Z are independent of each other. I see a different post at this link which states it is not true that E[X|Y,Z] = E[X|Y]E[X|Z], but the counter example is the case in which X is independent of Y and Z.
In my case, s... |
Considering $MSE[\hat{\mu}|{\mu}*]= Var [\hat{\mu}|{\mu}*] + Bias (\hat{\mu}|{\mu}*)^2$ and the following givens $\hat{\mu}= 112$, ${\mu}*= 112$, ${\mu}_0 = 100$, ${n = 10}$, $\bar{y}=113$, and ${\sigma^2} =225$, how do I determine the variance and bias to get my MSE? Any resources that would help facilitate an underst... |
Reading some research studies and there are interesting aggregated results. I want to plug it into a neural network (or similar) in order to categorise individual entries into alignment with what the aggregates say.
Given a single metric—say: age range within $20$ – $30$—an aggregated average; a sample size $n$; coul... |
Let $X_1,X_2,...,X_n$ be the iid sample from $N(\theta,1)$.
Then how can I compute the correlation coefficient between sample mean $\bar X$ and $X_1$?
In order to get the $\rho$, I need to take care of $E[(X_1-\theta)(\bar X-\theta)]$, which equals $E(X_1\bar X)-\theta^2$.
To get $E(X_1\bar X)$, i need joint pdf of $... |
For my current project I need to compare means of four groups by one-way ANOVA. In order to test whether my data come from normal distribution or not, I have checked each group for normality by Shapiro-Wilk test and now I have four p-values, i.e. one p-value per group. Should I apply Bonferroni correction to these p-va... |
In the paragraph before equation 6.20, the book says:
"...If we begin with the assumption that the unnormalized log probabilities are linear in $y$ and $z$, we can exponentiate to obtain the unnormalized probabilities..."
With this assumption, we proceed to equation 6.20, and onwards to derive the sigmoid output unit.
... |
I am reading Wooldrige's "Introductory Econometrics" and wondering about the assumptions on Linear Regression especially the conditioning assumptions:
$ E(u|X) = 0 $ and $ Var(u|X) = σ^2 $
If the conditioned value is a constant, does it mean that unconditioned $ E(u) $ and $ Var(u)$ are simply the same constant since... |
I am hearing these words more and more as I study machine learning. In fact, some people have won Fields medal working on regularities of equations. So, I guess this is a term that carries itself from statistical physics/maths to machine learning. Naturally, a number of people I asked just couldn't intuitively explain ... |
I have come across an Excel model that estimates the lognormal distribution parameters with maximum likelihood estimation and least squares estimation. The least squares estimation is fitted to the empirical cumulative distribution. What are the pros and cons of each method?
|
I am working with spatial point processes and on a dataset which seems to be a non-homogeneous poisson point process. I have fitted a cluster/ cox process model and also used this model to predict the intensities in certain locations using the spatstat package in R.
I have built several models and I want to compare th... |
$\textbf{Problem}$ Let $X_1,\dots,X_n$ be a random sample from $f(x;\theta) = 1 / \theta$, where $0 < x < \theta$. We want to test $H_0: \theta \leq \theta_0$ versus $H_1: \theta > \theta_0$. Obtain the uniformly most powerful test with size $\alpha$. You must describe how to calculate $\alpha$ to get a full credit.
He... |
Answers to other posts that are almost identical to my question are still confusing to me...
my data is nonparametric, unequal sample size, unequal variance, so I've decided that kruskal-wallis is best for comparing multiple populations, here are my results:
>kruskal.test(Area~Dehiscence2)
Kruskal-Wallis rank sum test... |
I have independent correlation coefficient measures for each subject. I would like to test whether the correlation coefficient of the group is significantly different from 0. My understanding is that the best way to do this would be to use a t-test with an r-value per subject.
It's been recommended to me that I fir... |
I tried to solve this exercise in the book of "Time Series Analysis with Application in R":
Simulate a completely random process of length 48 with independent,
chi-square distributed values, each with 2 degrees of freedom. Display
the time series plot. Does it look “random” and nonnormal? Repeat this
exercise se... |
Based on several posts i read on stack exchange I now know that neither correlation nor regression indicate causation,
then why is it said that the 2 main uses of regression are
1)prediction
2)causal analysis and inference ??
Reference to the following article by Dr Paul Allison
http://statisticalhorizons.com/predi... |
For those of you who have used Tensorflow's pre-trained Inception model to bootstrap an image classifier with custom categories and also trained a classifier from scratch with the same images, how big was the difference in validation/test accuracy between the two? If training from scratch yielded higher accuracy, how m... |
A popular distance measure, cosine similarity/distance, is not a proper metric because it fails to satisfy one of the conditions (the triangle inequality). However, there is no disadvantage whatsoever in using it and it is used heavily in many applications.
Is the categorization of a distance measure as a metric useful... |
Below I attached an example which I would like to analyze.
Let's for the example purposes assume, that these plots show the activity of two different drugs which were tested. On the Y axis we have "intensity" of this drug and on the X axis we have a period of time how long is a lifetime of this drug. At this moment I... |
I was trying to answer the question Evaluate integral with Importance sampling method in R. Basically, the user needs to calculate
$$\int_{0}^{\pi}f(x)dx=\int_{0}^{\pi}\frac{1}{\cos(x)^2+x^2}dx$$
using the exponential distribution as the importance distribution
$$q(x)=\lambda\ \exp^{-\lambda x}$$
and find the value o... |
Suppose I have a certain nEV number of Electric Vehicles, each one has a State of Charge (SoC) picked from a particular distribution X.
I have a certain quintic polynomial function g(x) which maps each SoC into a 'probability of positive charging decision' (p_i). Thus, if I'm correct, I have another rv Y=g(X), whose pd... |
How do I find the variance of this ARMA(3,1) model?
Assume $y_t$ is covariance stationary, and innovations are standard normal. What is the variance in the following process, assuming $\sigma^2_\epsilon = 1$:
$$ y_t = 0.2 + 0.7 y_{t - 1} + 0.1 y_{t - 2} - 0.4 y_{t-3} + \epsilon_t + 0.1 \epsilon_{t - 1} $$
A. 3.0
B. 5... |
I'd like to model the behavior of a server A, which caches results from an upstream server B. Queries sent to server A will be forwarded to server B if the former has not already seen this query for an entry.
Relaxations and parameters:
There are x total entries in server B, which can be cached in server A
A query fo... |
Let's start with an example:
I would like to know what alternative for euclidean distance could be use to distinguish if orange or blue plot is "closer" to red one. In which situations I should apply euclidean distance and when Bayesian approach can be used ?
|
I'm creating a report with a KPI that I here illustrate as the share of students passing courses. This KPI has a goal of 90 %.
Given this data
Filter: All courses
Period | # Students | # Pass
--------------------------------------------
2014-1 | 3511 | 2458
2014-2 | 3454 | 2521
201... |
Let's say I have a dataset containing a list of car accidents and associated information (e.g. weather, driver info, car state etc.).
Let's assume I know the number of cars on the road and the distribution of the relevant characteristics (e.g. number of male / female drivers, historical weather data etc.).
I would like... |
In the problem I am working on, I am dealing with data points which have many features and are mapped to a certain value based on an unknown function. I would like to train a predictor to be able to compare two data points and to predict which of them will have the better (higher) value. I can imagine three approaches ... |
I have some data for a bernoulli variable $Y$ which I believe is a function of time $X$. I have plotted the data below, the slope is negative but I want to test the null hypothesis that the slope is greater than 0.
I know how to perform this hypothesis test for an ordinary regression model by using a t-test but I think... |
I am conducting a study in which I am reporting results of hypothesis tests conducted in a frequentist framework, and also some additional analyses conducted in a Bayesian framework.
Should I use upper case (capital) $P$ or lower case $p$ to denote $P$/$p$-values and Bayesian probabilities?
"p" for both frequentist an... |
I am trying to correctly interpret and plot the effects of a multinomial model fit in R. The data and script are here for reproducing the problem.
The multinomial variable describes different outcomes of a videogame where players have to hit a moving target. 3 is a miss, 2 is a non critical hit and 1 is a critical hit.... |
So I am using a GLM for binomial distribution to predict seasonality on habitat preference. My model has 2 categorical variables:
"Season" (1, 2), and "habitat" (1,2). But when I try to run the model, I only get 2 coefficients shown where I believe i should get 4. Im so confused right now.
Also I have heterogeneity in ... |
There are four mutually exclusive events I want to model - or rather, three events and their absence. The three events' rate of occurrence together is very small, with a 99% chance none of them will occur. So I would model them with a multinomial. So far so good.
However, I know that the rate of occurrence of the $i^{\... |
I'm going through Murphy's ML a Probabilistic Perspective book and in chapter 9 we have the following excerpt talking about the MLE of exponential family distributions:
My question is: How do we arrive at the conclusion that because -A(θ) is concave in θ and $\mathbf{\theta}^T\phi(D)$ is linear in θ, their difference ... |
I've often heard it said that linear regression assumes variables were measured on an interval or ratio scale. I understand why normality/homoskedasticity/independence are required (in order to keep alpha levels at 0.05), but why does regression assume interval or ratio data? Is it simply because the interpretation of ... |
So I have a test subject A which consist of a binary variable 0 and 1. I want to see if this binary variable is decided by some independent variables (plus interactions) which are continuous, which in my case I apply normal logistic regression to see if I can model it.
However after I apply a treatment on test subject ... |
Bayes' theorem [is used] in the classifier's decision rule, but naive Bayes is not (necessarily) a Bayesian method.
-Wikipedia.
I have applied naive Bayes assumption to LDA, but it has a Bayes classifier as the sole classifier. To what other non-Bayesian classifiers or learning models could the naive Bayes assumpti... |
In searching for an answer I came across this about the pdf/cdf ratio but I would like to know if there is any meaning, name or supporting theory relating to the ratio of two pdf values, the numerator and denominator evaluated with the same pdf e.g. $f(x_1)/f(x_2)$ where $f(x)$ is the pdf.
I am specifically interested ... |
How to tell if a specific cell from my 2x2 (also 2x2x2) contingency table (constructed for computing Chi-Square test of independence) is in favor or against the null hypothesis?
|
Let $X_T$ is a number of events in Poisson process of unitary rate ($\lambda = 1$) within interval of length $T$. It is known that at least one event has been observed in the interval, I want to find probability that there is more events in the interval.
My intuition is that $\Pr(X_T > 1 \mid X_T > 0) = \Pr(X_T > 0)$.... |
I am using Abalon data for classification from UCI(https://archive.ics.uci.edu/ml/machine-learning-databases/abalone/abalone.data). I have scaled data and used TSNE for visualization.
data=pd.read_csv('http://archive.ics.uci.edu/ml/machine-learning-databases/abalone/abalone.data')
x=data.drop('15', axis=1)
y=data['15']... |
In regression analysis it could happen that some samples are more relevant than others (i.e. they are more important in understanding the underlying model). Is there any technique to train a regressor by weighting training samples according to their relevance? A trivial example could be giving 0 weight to outliers.
|
According to e.g. https://stats.stackexchange.com/a/61466/14346, the following simple model:
$$
x_{label} = a_{label} + e_{label}
$$
writes in lmer syntax as:
x~1|label
However, I do not manage to understand this formulation : What is the meaning of this when dealing with multiple observations i.e. multiple (and diff... |
Is there a good textbook or a journal article which describes the properties of the multivariate hypergeometric distribution? I am particularly interested in the covariance structure. Wikipedia gives some basic results but without any citations.
|
I am working on a multiclass problem with 9 possible labels, for which I have a dataset consisting of ~50.000 examples and ~200 features each. Each example can only belong to one class. The data is fairly balanced amongst the different labels.
Given its robustness and scalability, I decided to use Random Forest (with a... |
I am trying to get Schoenfeld residuals for testing data, using the model parameters obtained from training data. However in r, predict.coxph gives only the linear predictors and their exponentials. Could anyone give me some suggestion?
|
Granger causality uses the notion of VAR models where we can create two models one using the prediction of X alone and another using X and Y. If X,Y model performs better we can say that X causes Y. At many web resources, there is a mention of F-score and p-value to determine Granger causality. Where do they fit in wit... |
Is it true that
If $a$ is random vector independent of $x$ for which $P(a'\Sigma a=0)=0$, then $$f\sim N(0,1)$$ and $f$ is independent of $a$ ?
Here $x\sim N_p(\mu,\Sigma)$ and $f={a'(x-\mu)\over\sqrt{a'\Sigma a}}$
|
I would like to ask when we have a variable X which is normally distributed with mean 0 and s.d 0.5 and we want to check if x>2 is statistically significant:
so the z value would be 4 so in a standard normal distribution how can i find the area under the curve above the μ+4σ value (because I cant find it on the table... |
In Wasserman's book "All of Statistics", page 157, there's the following sentence:
«A large p-value is not strong evidence in favor of $H_0$. A large p-value can occur for two reasons:
$H_0$ is true, or
$H_0$ is false and the test has low power.»
Why when we have a low power test, do we have a large p-value?
Any hel... |
I am writing a proposal for a research project and have been asked to calculate the sample size and power for the data I will use. The problem is that this will be an analysis of two repeated surveys of a sample of a country's population (panel panel) that I don't yet have access to (1500 respondents with complete data... |
I am interested in a strategy to calculate heterogeneous treatment effects with an IV strategy for local average treatment effects (LATE).
I am estimating the effect of postsecondary educational selectivity on adult wages using an instrumental variables identification strategy. The instrument is linear distance to a se... |
It is possible make prediction intervals for $Y\mid X=x$ where $X \sim \operatorname{Binom}(n,p)$ and $Y \sim \operatorname{Binom}(m,p)$ as answered in my previous question .
Now I wish to make a prediction interval for $Y$ in a logistic regression settings. Yes, making prediction intervals for single observations in... |
Assume a Poisson point process with rate $\lambda$ in time $[0,T]$. Supoose $X$ is the random variable representing the time between the last arrival and $T$. What is the probability density function of $X$ as $T\to \infty$?
The pdf is $\frac{d}{dx}P\left(X\leq x\right)$. We can break up $P\left(X\leq x\right)$ by th... |
Why do we reject null hypothesis of a Goodness of test when the Chi square statistic is more than the tabulated value of chi-square at say 5% level of significance and accept when it is less?
What does it mean to have a Chi-square value more or less than the value assigned to a certain level of significance?
|
I have $n$ $Y$s: $Y=(Y_1,\ldots,Y_n)$. What is the variance of $Y$ when $e_i$ are the only random variables and they are independent. I can for sure say that the mean is $0$, but what about the variance? is that 1 or does $f(x)$ have an impact
|
I have that $R^{2} = 1 - \frac{\text{RSS}}{\sum_{i=1}^{n}(Y_{i}-\bar{Y})^{2}}$.
Also, $\text{RSS}= {\sum_{i=1}^{n}(Y_{i}-\hat{Y_{i}})^{2}}$ for the simplest linear model with only the intercept term.
I also know that $\frac{1}{n}\sum_{i=1}^{n}(Y_{i}-\bar{Y})^{2}$ is the total variance for the intercept only model and t... |
I am performing a likelihood ratio test on a vector containing observations $\textbf{a}$. The number of observation is a random variable $\in \{1,2,\ldots\}$, so the vector of observations may have infinite length. Is that OK? The likelihood ratio between $H_0$ and $H_1$ is:
\begin{align}
\nonumber \Lambda(\textbf{a... |
I’ve got assigned a project which needs to compare two data sets (from real world and laboratory environments). I have the data from the previously done real world observation but I still have to do the lab research. The results from the real world is known.
I don’t need to show any causal relationship between the real... |
I have modeled counts of health factors at the census tract level geography.
When I plot these counts against each other (example: smoking vs. heavy drinking) I get a weird scatterplot output. The results seem to be bi-linear or dovetailing, with one point cloud on a steeper trajectory than the other (see image).
I ca... |
I have a data set which includes seed set data from treatment and control plants, I want to include mean flower number as a random effect (derived from daily counts of each plant throughout the course of an experiment)(In the model: scaled_mean_flower_number). Seed set should, of course, be somewhat (or strongly) depen... |
Can logistic regression provide a predicted value for observations with missing values?
Here are the details:
I have a file with about 10K rows, about 3K have all complete values for all variables.
I ran a logistic regression (glm) to estimate coefficients and significance for each predictor
Now when I try to predic... |
Binomial is counting success in $n$ trails. Poisson is also for counting events happening. What is the connection between them?
I know is that when sample size is large both can be approximated with normal.
But how are they similar or different? I learned in class their PMF are different but not really understand whe... |
My question is about the interpretation of the summation in the formula.
The transfer entropy from process Y to process X can be calculated using the following formula:
$t(x|y) = \displaystyle\sum_{x_{n+1}, x_{n}, y_{n}} p(x_{n+1}, x_{n}, y_{n}) \cdot \log \left( \frac{p(x_{n+1}|x_{n},y_{n})}{p(x_{n+1}|x_{n})} \right)$... |
I'm familiar with direct and indirect standardisation to calculate adjusted rates and standardised ratios (e.g. SMRs).
Is it valid to use similar techniques to adjust means?
I'm interested in the duration of hospital admissions for a specific condition and want to compare the mean duration of two groups with different ... |
If I have a poisson regression like so:
glm(freq ~ Category, df, family='poisson'
The category variable contains about 10 levels. If I take the exp(coef) and get the odds ratio. How can I properly interpret them for count data like this?
Assume the following ORs:
DWI 1.55
Assualt 10
Theft 122
Is it safe to say that... |
What are the top 20 useful (but simple) analytic tools that John Tukey proposed. Especially ones you have applied and found really useful.
I will suggest:
- smoothing
- ladders of powers
- outside and far out values
......
|
The way I see it there's two way to define my Likelihood function:
$L(Y_1,Y_2,...,Y_n;u,\phi)=Y_1*Y_2*...*Y_n$
or
$L(Y_1,Y_2,...,Y_n;u,\phi)=f(Y_1)*f(Y_2)*...*f(Y_n)$, where $f(Y_i)=N(u,(1+\phi*x_i)^2*1)$
Are any of those the right to determine the likelihood function?
|
I'm having trouble finding information on helping me understand how to interpret non-orthogonal contrasts in a regression model.
I have simulated some data to show what I am working with:
set.seed(5552)
Subject <- 1:30
Group <- c(rep("Control", times = 10), rep("Experimental 1", times = 10), rep("Experimental 2", times... |
I have been asked this question in interviews. But I could not figure out the logic behind that.
|
I'm new to stats and have an assignment where they ask for the descriptive statistics for some variables. I typically think of these as central tendency and variability, but some of the variables are categorical. By definition of descriptive statistics I think frequencies would count, but I haven't seen it explicitly s... |
As I understand it, deep neural networks are performing "representation learning" by layering features together. This allows learning very high dimensional structures in the features. Of course, it's a parametric model with fixed numbers of parameters, so it has the usual limitation that the model complexity may be dif... |
I was looking at AR processes in Chris Brooks (2008) and at one point, when deriving the variance of an AR(1) process he writes this part $(1- \phi L)^{-1}* u_{t}$ as $(1+ \phi L+\phi^{2}L + \cdots)* u_{t}$ but I do not understand why. It might be a rather basic question but I would really appreciate if you could at le... |
This is related to my previous question: How to update Poisson conjugate prior with observations of arrival time instead of counts?
Using the same notation, suppose $N \sim \operatorname{Pois}(\mu)$ is a Poisson distributed random variable, with interarrival times between observations distributed accordingly as $A \sim... |
I have a neural network with one hidden layer and an activation function for the output layer: $$f_k(w,u)(x) = \sum_{i = 1}^{m_1} w_{ki} \max\left(0,\sum_{j=1}^d u_{ij}x_j\right)$$
I am supposed to implement gradient descent with two update rules:
$$w \rightarrow w - \alpha \frac 1 B \sum_{i=1}^B \nabla_w L(y_i, f(w,u)... |
I am working on a diagnostic test (I'm not a statistician) I used a logit model for regression with the help of another student who has since graduated.
I separated my data into a Training and Test Set. In the training set I have an AUC of 0.94 and a sensitivity/specificity of .87/.92.
In the test set I have an AUC of ... |
I have two random variables which are independent and identically distributed, i.e. $\epsilon_{1}, \epsilon_{0} \overset{\text{iid}}{\sim} \text{Gumbel}(\mu,\beta)$:
$$F(\epsilon) = \exp(-\exp(-\frac{\epsilon-\mu}{\beta})),$$
$$f(\epsilon) = \dfrac{1}{\beta}\exp(-\left(\frac{\epsilon-\mu}{\beta}+\exp(-\frac{\epsilon-\m... |
the three assumptions Andrew Ng makes when deriving GLM are:
$y\mid x;\theta \sim \operatorname{ExponentialFamily}(\eta)$
Our goal is to predict the expected value of $T(y)$ given $x$. Since in most of our examples $T(y) = y$, we would like the prediction $h(x)$ to satisfy $h(x)=E[y\mid x]$. (This assumption is sati... |
I know the formula and think I understand it, but I must be doing something wrong.
Assume $J\sim po(\lambda)$ and $X_J=(U_1, \dots, U_J)$ and $U_i\sim U(0,w)$. Then I want to sample from the posterior distribution $(J,X_J)$. So I make a RJ-MCMC move where
In the birth move, insert randomly a new $U_i\sim U(0,w)$ in $X... |
I live in the Northern Territory, Australia where for the second year running the government and commercial entities have created a 1 million AUD fish competition to encourage tourism. One tagged and released barramundi if caught anywhere in the many waters within the NT will net the fisher $1 million. My question is g... |
An idea that keeps bothering me is if there is some parallel between a Bayesian and Frequentist model in using a non-informative/uniform prior. I have heard that the answer is no, but I am wondering if someone could go into more detail why. The intuition is that using a uniform prior gives equal weight to the parameter... |
Participants took two different creativity assessment test. I al trying to make a comparison between the two measurment tools and see which one gives more insight about the level of creativity.
What statistical analysis should I be using?
|
I'm trying to understand the distribution, mean, and variance of a normal random variable, with the mean parameter having a uniform distribution.
Based on my R simulations it seems that this compound distribution is close to normal, with the mean equals to the mean of the uniform distribution and variance equal to the ... |
I am looking to forecast rents across several markets. I have time series data going back 15 years for 4 different markets. I also have variables that I expect to correlate with Supply and Demand and am hoping to include them as independant variables.
The model I am looking to run is roughly
$rent_{it} = \beta_0+\beta_... |
I have a population $x$ with $\sigma/\mu=a$, and a second population $y$ with $\sigma/\mu=b$. The linear regression is $y=cx$. How would I find the correlation between $y$ and $x$, given that the populations are homoscedastic and normal?
If they were independent, I know the correlation would be zero, but I tried puttin... |
In epidemiology, what is the difference between total follow-up time and time to death (in years)? Examples would be nice.
|
It has been some time since I've been in a statistics course. I actually have a degree in statistics but it has been some time, so I can't recall the upper level stats. I know Elementary Statistics and Statistical Methods but as for theoretical stats I would need some help. As for proofs in stats, would I need to read,... |
Can I expect a vector whose components are i.i.d. Gaussian noise to be compressible (lossless compression)? Why or why not? If so, how much?
EDIT: To be clear, I mean "compressible" as in "compressible by some compression algorithm", so I would get to choose the compression algorithm after seeing the sampled noise.
|
I'm working on a regression problem using the support vector regression model from sklearn and using MinMax to scale the features, but by using it I get a different result for the regression, does that makes sense?
import pandas as pd
import numpy as np
from sklearn import svm
from sklearn.preprocessing import MinMaxS... |
Suppose $X$ is a continuous random variable with probability density function $f(x)=\dfrac{\theta}{x^{\theta + 1}}$ for $x\geq1$ and $\theta > 0$
So $h^{-1}(Y)=e^y$
then $f_y(y) = f_x(e^y)|\dfrac{d(e^y)}{dy}|$
Which I think results in $f_y(y)=\dfrac{\theta}{e^{y\theta}}$ for $0<y$
Is this correct? And if it is, should ... |
Let $x$ be a non-zero column vector and
$$
P= ( xx^\intercal)/(x^\intercal x)
$$
be an $n\times n$ matrix where $n>1$. Then what is the nature of matrix $P$?
(here $x^\intercal$ denotes transpose of $x$)
|
I am very new to machine learning and deep learning. I recently studied RNN and LSTM networks. One application I came across was sentiment analysis on imdb movie reviews using TFLearn and TensorFlow.
from __future__ import division, print_function, absolute_import
import tflearn
from tflearn.data_utils import to_categ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.