instruction stringlengths 9 38.7k |
|---|
I have a number of distributions which I want to fit to a CDF that is comprised of one or more Gaussian CDFs. I was able to use weighted least squares regression to find the best fit parameters for each regression depending on the number of modes I give the model (e.g. each Gaussian CDF has three parameters, mu, sigma,... |
I am using panel data and I would like to determine whether I can use the Random Effects (RE) model instead of Fixed Effects (FE) to estimate one coefficient of interest.
When I use the Hausman test comparing FE and RE, I have to reject the null hypothesis (meaning that the RE model is not OK). However, the difference... |
I am working on analyzing a data set and I was wondering what would be the most statistically valid method of demonstrating that there is a strong spatial correlation between images.
I have a data set with about 50 pairs of images of cancerous tissue samples. The first image in each pair shows the locations of gold ... |
I've been trying to find information on the sampling distribution of the standard deviation for uniform distributions and have been having a heck of a time figuring out the expected value for the standard deviation of a sample. Hopefully someone can help out!
Basically, I'm trying to find the expected standard deviatio... |
I have a dataset which only has one continuous variable, and I try to use decision tree algorithm to build a model which classify the +ve and -ve label from the dataset. I run 10-fold cross-validation.
How is the AUC calculated for the decision tree classifier? Will the algorithm check different threshold value of the ... |
If you are running K-medians, and your distance metric is the L1 norm, how do you derive that the center of each centroid is the median of the data points assigned to it?
Second, how do you compute the geometric median?
Third, are there any implementations of k-medians algorithm?
|
When I start an exploratory analysis on a large data set (many samples, many variables), I often find myself with hundreds of derived variables, and tonnes of different plots, and no real way to keep track of what's going where. Code ends up like spaghetti, because there's no direction from the start...
Are there any r... |
I've learned that when choosing a number of clusters, you should look for an elbow point for different values of K. I've plotted the values of withinss for values of k from 1 to 10, but I'm not seeing a clear elbow. What do you do in a case like this?
|
This should be fairly easy, but for some reason i'm having hard time getting it to work and I've spent a long time trying to figure it out myself.
In the last paragraph of page 4 of the original Sum-Product Networks paper the authors described how to compute the posterior marginals of sum nodes, i.e $$P(Y_k = i | e) \... |
When analyzing a dataset based on percentages, I have on occasions worked with data as "full" value (i.e. "50") or "reduced" value (i.e. ".50").
However, it just occurred to me that this could have a serious impact on how standard deviation and variance.
If my standard deviation and variance are above 1, the standard d... |
I ran a negative binomial regression on some count data using SPSS. The intercept had an Exp(B) value below the lower limit of the 95% Wald Confidence Interval. I've never seen this happen before and am curious as to what it means. This did not occur with any of the Exp(B) values for the predictors, only the interce... |
My data has 3 major inputs: BLDDAY (a factor), BLDMNT (a factor), and D_BLD_SER (days as an integer variable). The output is whether input variable has any impact on failure. My model is: model = glm(FAILED~BLDDAY+BLDMNT+D_BLD_SER, family="binomial", data=data_list). (I used UCLA's statistics help site's guide to lo... |
Considering a two equation model:
Equation 1
Trunk=f(Headroom)
In the first step I regress the first equation to get predicted values of Trunk.
Equation 2
Price=f(Trunk_hat, Displacement)
I have performed this in Stata, however I also want a mathematical derivation of this procedure. What is the method to go about i... |
For the ARIMA (0,0,1) model, some books write the equation as
$$Z_t = \mu - \theta Z_{t-1}$$
whereas some books write the equation as
$$Z_t = \mu + \theta Z_{t-1}$$
Why is there either a negative sign or positive sign before the moving average parameter in an ARIMA model?
|
I'm new to the cforest package and am trying to create a cforest model to predict a new test set and calculate the model test MSE. My data is split into d.train and d.test. If I use randomForest, the code for predicting and determining the MSE is as follows:
set.seed(1)
rfp.data <- randomForest(d.train$Y.Weight ~ . -... |
I run caret's recursive feature selection with randomForest. While running rfe function with method repeatedcv, I had parameter maximize = TRUE. Thus, optimal set of variables is decided based on the best RMSE metrics.
However, I would like to see the minimum "tolerable" set of predictor variables without rerunning rf... |
I have a nuclear family consisting of dad, mom, me and my younger sister. Our birth week i.e. week in which we were born are linear according to our date of birth i.e. my father who is oldest was born on wednesday, my mom on thursday, me on friday and finally my sister(who is youngest) on saturday.
When i was small i ... |
i need to know how to use the Australian Calculator to get my sample size. i was instructed to carry out my research using the Australian Calculator, but i don't know what it means.
|
In my experiment, I hypothesised that individuals in one treatment condition would give higher values on a likert scale than individuals in the other treatment condition. It was a one tailed hypothesis.
Histograms and Q plots show that my data is skewed in the direction I would imagine for the first treatment condition... |
I have the following data (just an small example here). I want to know effect of time and ecotype over height.
subdata <-
id time ecotype height
1 17 a 73.692
1 22 a 213.010
1 25 a 343.700
1 28 a 663.030
109 32 a 1267.300
109 17 b 47.445
109 22 b 148.050
109 25 b 280.570
109 28 b 509... |
I have ran a negative binomial regression. I'm guessing the use of a negative binomial regression is not ideal given my design, but I'm hoping I can 'get away with it', as it seems to be working fairly well.
Here's my design:
Count the the total number of geese in a flock
Count the number of these that are vigilant. ... |
Is it possible to do a significance test based solely on precision/recall/F1 scores?
For example, if you come across 2 systems in a paper for which only P/R/F1 are reported (on the same dataset, etc.), can you then perform a statistical significance test? If yes, how is that done?
|
Suppose I have a multivariate, compositional dataset that depicts the concentration of different elements. However, the data are not available on a single scale; i.e., some are of form 0.00x while others are integers. Should I apply any kind of normalization / standardization technique before applying, or do I need to ... |
I have a situation, where I need to classify items into groups (lets say 6). When I ran k-means 90% of my data fall in 1 group remaining 10% fall in other groups. What's next step?
In order to further group the data, I have taken the 90% data group and once again I ran k-means.This time I have 15 new groups within this... |
I would like to fit a model of the form
$z = k x^\alpha y^\beta$
to some data I have (it's a spatial gravity model). Now I know you could take logs of both sides and fit a linear regression
$\log z = \log k + \alpha \log x + \beta \log y$
But there are two problems:
Does this violate assumptions of OLS regression if ... |
I'm currently running an AB test on a bunch of websites for a change we've made on all the websites and am measuring revenue/site/group so my test groups look like so:
Website a | Test group a | unique visitors | revenue
Website a | Test group b | unique visitors | revenue
Website b | Test group a | unique visitors | r... |
I have the following form for a joint distribution
$$
P(w, \lambda, \phi \vert y) = P(\phi) \times P(w \vert \lambda) \times P(\lambda) \times \prod_{i=1}^{N}P(y_i \vert w_i, \phi, \lambda)
$$
I have some approximation for $w$ and what I am trying to do is update the parameters for the distributions for $\lambda$ and $... |
I want to draw a graph of sales over time. However, the time periods I have available to me overlap. For example:
January 2012 to January 2013: 10 million
April 2012 to April 2013: 12 million
July 2012 to July 2013: 14 million
October 2012 to October 2013: 12 million
The obvious way to draw the graph is to do a s... |
I have computed the IV estimate and the standard error of the IV estimate. Why do I care about its standard error?
|
I have proportion data on the percentage of female employees in 500 organizations. I want to use GLM to explain this dependent variable using other independent variables such as company size, industry, etc. I used a GLM regression in Stata as recommended here.
The stata model looks like this:
glm PercentageFemale othe... |
I have a scatter plot where the data are distributed very unevenly.
If you can imagine the ares of the scatter plot divided into 4 quadrants, about half of the data (i.e., half of the data points) like in the bottom-left or southwest quadrant.
Apart from deleting the other half of the data as "outliers", is there a tra... |
In testing a null vs an alternative, if we don't reject the null (e.g. the p-value is very big, bigger than the significance level), what is our conclusion?
Can we say that we accept the null, can we? I remember I heard that not rejecting the null doesn't mean accepting the null, but I might be wrong.
Or should we simp... |
There are quite a lot of study on the normal mixture distributions, say, $X=Y*Z$,where $Z$ is a normal r.v. and Y is a r.v. follows other distributions and $Y$ and $Z$ are independent.
Some well-known distributions are Normal inverse Gaussian, generalized Hyperbolic etc.
I would like to know that in probability, is the... |
I am trying to fit a model to some simulated data. The idea is to use ML-Estimation. However, I am totally lost.
I have a dependent variable which is a sum of two (unknown) variables. The first part is Poisson-Distributed and the second part is Negative Binomial Distributed. In the sum this leads to a Delaporte model. ... |
I'm trying to fit a multiple linear regression model to my data with couple of input parameters, say 3.
\begin{align}
F(x) &= Ax_1 + Bx_2 + Cx_3 + d \tag{i} \\
&\text{or} \\
F(x) &= (A\ B\ C)^T (x_1\ x_2\ x_3) + d \tag{ii}
\end{align}
How do I explain and visualize this model? I could think of the following option... |
I was wondering if someone knows a R-package or function library for the topic of shrinkage for regression with ARMA errors.
Please let me know if you came across something related.
|
Can anybody please help me convert yearly data into monthly and quarterly data?
|
I have four datasets: morphological measurements for a set of species (M1), ecological measurements for the same set of species (E1), morphological measurements for a second set of species (M2), and ecological measurements for this second set of species (E2).
I am interested in finding the linear combinations of variab... |
I am using Python's statsmodels module to plot a violin/bean plot of some data. I get the error "LinAlgError: singular matrix" in the KDE calculation whenever a single violin plot is drawn from a list of repeated instances of the same number. Regular boxplots work just fine.
Is this a bug or is there a reason behind ... |
I am looking for references about classical methods in regression clustering.
My problem is the following:
I have a cloud of points that are assumed to have been generated by inverse functions with different coefficients. So that I have a family of regression functions. I only know the form of the model and i don't kn... |
I am trying to use R to find the optimal solution for my problem with positive coefficients. Here are my data:
th inp tcyc tinst tmem tcom
1 2 2 26219765385 1975872868 52449810 782964
2 2 4 38080459431 3155342008 76744867 1878903
3 2 8 64572439641 6230494010 137... |
I have a data set that is represented below, but much longer. How can I find if there is a statistical relationship between business category and business score?
Business Name Business Category Business Score
Business1 Shopping 1
Business2 Eating 1... |
I have a dataset of 1000 tumours described by 6 parameters (my independent variables). For each tumour I have a value of the accuracy of 8 different segmentation methods.
I would like to build a model that can predict, given the 6 parameters describing a tumour, which segmentation method would yield the highest accurac... |
Is it useful to include cross-level-interaction in multilevel (hierarchical) models without varying slopes (only varying intercept)?
A short example in R:
m1 <- lme(y~x_1+x_2+z_1+z_2+x_1:z_1, random = ~1|county, data = data)
Where:
y = Response variable
x = covariate from individual-Level
z = covariate from group-Leve... |
Is there a specific way of sampling which maintains the ratio of samples in an unbiased set? e.g., lets say I want to do k-fold cross-validation on my training set And my training set is very imbalanced (let's say 1:10) How can I sample such that each of the k-folds also has the same ratio of +/- (In this case, 1:10). ... |
I have two independent continuous random variables, $A$ and $B$. I want to find the cumulative distribution function of $A+B$.
$A$ is log-logistically distributed, and $B$ is normally distributed.
How can I go about finding the CDF of $A+B$?
|
I conducted a study with three categorical within-factors and one continuous personality variable:
topic (1,2) x gain loss framing (1,2) x achievement security framing (1,2) x personality
I know how to use the MMATRIX command in SPSS to decompose interactions between my within-factors, but I don't know how to handle in... |
I'm analyzing some data right now and I have several planned comparisons I want to check. There is one continuous response variable (response) and 3 categorical factor variables (profile, drug, disease). Each factor variable (profile, drug, disease) has 2 levels (1,2).
I performed an ANOVA in Stata with the following... |
I am using Logistic Regression to create a binary classifier in R. Wrote a predictor for test data, and calculated the mean of my predicted result (I guess it can be translated to the efficiency of my method). I did find some references to training and test errors calculation, but can't seem to understand how to calcul... |
I'm analyzing some data from an experiment. There is one response variable (response) and 3 factor variables, each with 2 levels (profile, drug, disease). I want to compare specific combinations of (profile, drug,disease), e.g. (profile 1, drug 1, no disease) vs. (profile 1, drug 2, no disease). I've been approachin... |
This problem has perplexed me for a long time, and I would love to learn how to solve it.
Each parent contributes, on average, half of the genetic material of each child. If a parent has $n$ children, what percentage of the parent’s genes exist in total across all $n$ offspring?
How can one generalize the solution to ... |
I'm generating predicted probabilities (propensity scores) in Stata using the predict command. The basic structure of my code looks like this:
logit depvar indepvars
predict ps // Gives Pr(depvar = 1 | indepvars)
predict s, stdp // Gives the standard error of the prediction
The predicted probabi... |
I am learning some model based on examples ${((x_{i1},x_{i2},....,x_{ip}),y_i)}_{i=1...N}$ using a neural network of Feed Forward Multilayer Perceptron (newff) (using python library neurolab). I expect the output of the NN to be positive for any further simulation of the NN.
How can I make sure that the results of sim... |
I wanted to ensure that I understand this correctly. So would be grateful if someone can comment on whether my reasoning is correct. To take my running example, my joint distribution is given as follows:
$$
p(w, \lambda, \phi) = p(\lambda) p(w|\lambda) P(\phi) \mathcal{L}(w, \phi)
$$
where $\mathcal{L}(w, \phi)$ is the... |
We wonder if the colors (of which there are 6) in “Fun Pack” of M & Ms are distributed at random. Let us define as our test statistic $T$ (and there are many ways we could choose to do this) as the minimum number of candies of any color.
a) Write out the null and alternative hypothesis.
b) What would be evidence f... |
I'm encountering an issue where a classifier I'm developing reports validation errors during training that span a wide range of values without consistently decreasing over time. Unfortunately, I'm new to ML and related topics and can't seem to diagnose the problem as a result.
The base code of the classifier comes fro... |
The standard error of the intercept term ($\hat{\beta}_0$) in $y=\beta_1x+\beta_0+\varepsilon$ is given by $$SE(\hat{\beta}_0)^2 = \sigma^2\left[\frac{1}{n}+\frac{\bar{x}^2}{\sum_{i=1}^n(x_i-\bar{x})^2}\right]$$
where $\bar{x}$ is the mean of the $x_i$'s.
From what I understand, the SE quantifies your uncertainty- for ... |
Could you suggest R-code for the implementation of difference-in-difference regression? I don't understand how many coefficients I need.
In my analysis I compare the effect of a new law on the stock exchange volume, I have 2 periods and 2 samples.
Thanks a lot!
Thanks Jeremy, but in the Imbens's model the regression c... |
I want to generate correlated random variables with a given correlation matrix, means, and variances. Does the Cholesky decomposition only work when the initial random variables are iids with the same mean and variance?
|
I want to compare which are the "most important" interaction effects (in a data driven way, I realize that it is has downsides). I realize that for substantial researchers this does not make sense, yet am curious to the procedure.
Imagine we have the following variables: $X_1, X_2, X_3, X_4$, $y$ and $z$ (all equal le... |
I compared the number of pregnant women receiving specific health service indicators (deliveries, antenatal attendances and malaria prophylaxis uptake) at 14 facilities during three specific time periods; pre, during and after a project intervention; using the pre-intervention data set as the reference in a Poisson reg... |
I've been asked to replicate a study that models an accelerated failure time survival model with a log-logistic distribution and gamma distributed frailty (a 'log-logistic shared gamma frailty model') estimated with the streg command in Stata [1]. We have made some changes to the original model and now want to estimate... |
Is anyone aware of propensity score matching methods for when there are more than 2 treatment groups? I am working on a project with 4 treatment groups:
A
B
A and B
Neither A nor B
Calculating propensity scores using multinomial logistic regression might work, but then I'd get multiple scores for each observation so... |
I am trying to model daily sales for a take out restaurant. They are only open on business days - no holidays or weekends - as their primary clients are office workers on their lunch breaks.
Below is what two years of the daily sales time series looks like.
The days with zero sales, as you can see above, are the days ... |
I found this tutorial, which suggests that you should run the scale function on features before clustering (I believe that it converts data to z-scores).
I'm wondering whether that is necessary. I'm asking mostly because there's a nice elbow point when I don't scale the data, but it disappears when it's scaled. :)
|
I am having trouble understanding the meaning of the standard errors in my thesis analysis and whether they indicate that my data (and the estimates) are not good enough.
I am performing an analysis with Stata, on immigrant-native gap in school performance (dependent variable = good / bad results) controlling for a var... |
currently I'm trying to model a response variable y, and I have zip code as my independent variable, my model is logistic regression. When it comes to nominal variable, the text book method is to create k-1 dummy variable (assuming the nominal variable have k different levels), but zip code's k is too big, I can't crea... |
Suppose that we are modeling the log-hazard of death using age, gender, bmi, and weight. BMI and weight are correlated. Would it make sense to drop one of these variables from out analysis?
|
Suppose one has an expression for the probability density of a random variable- how does one simulate for the particular random variable. I understand that this isn't an issue for probability density functions like Gaussian which have a MATLAB implementations(say wgn()).
I have a probability density function which does... |
I am implementing a Fine & Gray competing risk model. The model includes covariates that are static for each person (e.g. location) as well as covariates that change over time (such as local unemployment rates).
The issue I have is: how do you generate cumulative incidence curves, assuming covariates that change over t... |
I've been given the simple linear regression model:
$y_i = β_0 + β_1x_i + ε_i$
Under the assumptions of a simple linear regression model, the question they ask is:
Assuming the usual model assumptions hold, show that the least squares
and maximum likelihood estimators of $(β_0 β_1)'$ coincide
What I can't seem to c... |
When summarizing a one dimensional continuous distribution (e.g. a posterior distribution) it is common to use either an equal tailed interval (aka quantile-based) or a highest density interval. The 95% equal tailed interval conceptually corresponds to the median in that when the coverage of the interval $\rightarrow 0... |
I was reading some notes and it says that PCA can "sphere the data". What they define to me as "sphering the data" is dividing each dimension by the square root of the corresponding eigenvalue.
I am assuming that by "dimension" they mean each basis vector into which we are projecting (i.e. the eigenvectors we are proj... |
I have a list of values (A) that I consider to be the null distribution which I want to use to test the significance of another set of values (B) and get p-value for each item in B. I read this post Calculating p-value from an arbitrary distribution but I still don't know how to do it in R or other platform... can some... |
i'm trying to find the parameters $ \gamma,x_0$ of a standard Cauchy distribution : $$T(x)= \frac{1}{(\pi \gamma (1+(\frac{x-x_0}{\gamma})^2))} $$
To perform rejection sampling from a gamma distribution:
$$
G(x) = \frac{1}{\Gamma(\alpha)}x^{\alpha-1}\lambda^\alpha \exp(-\lambda x)
$$
And i have seen than in several te... |
There are verbal suggestions everywhere on when one should use a geometric average or when an arithmetic average should be preferred, but I can't find any formal statistical treatment of this question. Is it possible to formally test which one of these averages should be used for a particular sample?
|
Assuming that I have an online ecommerce store. Recently, for one of the products, I want to run a sales campaign for the product for a period of time. The effectiveness is defined solely in terms of increasing sales.
But the problem is I have no idea how to measure this. From my experience, sales volume fluctuates fro... |
I am aiming to compare the deviances of two models, an ordered probit and a multinomial probit, using the likelihood ratio test (obviously using the same data).
However, I systematically obtain a higher deviance for the most complex model, i.e. the multinomial probit. I don't understand this result.
I am using Matlab... |
I have learned many models and I calculated p-values for the cross-validation errors. I want to select significant models based on the false discovery rate (FDR). How can I estimate the FDR from p-value distribution?
|
I am currently conducting a study about the involvement of male in family planning. It is of interest to create an index for the involvement of male in FP. My variables were only categorical variables and mainly dichotomous variables. Is there anyone who is knowledgeable on creating index using logistic approach? or an... |
I've heard a bit about using neural networks to forecast time series.
How can I compare, which method for forecasting my time-series (daily retail data) is better: auto.arima(x), ets(x) or nnetar(x).
I can compare auto.arima with ets by AIC or BIC. But how I can compare them with neural networks?
For example:
> dpu... |
Is it always better to have categorical predictor variables when performing a multinomial logistic regression analysis? or can it be done using continuous predictor variables? If a predictor variable should always be categorical, what is the reason behind it?
|
I'm doing some research into methods for discretizing a continuous variable coupled with a binary target variable to find the optimal split points to maxamise a measure of impurity (gini/entropy).
First off I'm having some trouble coming up with google-able terms. "Optimal Split" seems to relate to choosing which varia... |
I have a device which rotates on a stepper motor through a belt and pulley system. I would like to know both the positional accuracy and precision of this movement.
It is of my opinion that this should be determined by taking a large number of measurements to random angles to give a bell curve then using the offset of ... |
I am trying to understand how CNN works. I want to use them in object recognition task. I thouhgt that CNN is unsupervised networks. My main question is how can I implement the back propagation without using image targets (pre-defined labels), in order to calculate the error function which will affect the weights of th... |
I would like to minimise the function $l(\theta|Y)$.
Given the Newton's method below
$$\theta^{(t+1)} = \theta^{(t)} - \left[l''(\theta\;|\;Y)\right]^{-1} l'(\theta^{(t)}\; | Y)\quad t = 0,1,...$$
where $l''(\theta^{(t)} | Y)$ is the observed Fisher Information matrix.
The observed fisher information matrix (including... |
I have a hypothetical data given below that consists of 11 pairs of points (xi, yi ), to which the simple linear regression mean function $\mathbb E(y|x) = β_0 + β_1x$ is fit.:
X Y
10 8.04
8 6.95
13 7.58
9 8.81
11 8.33
14 9.96
6 7.24
4 4.26
12 10.84
7 4.82
5 5.68
... |
I am wondering whether there is another probability density function known to literature which is similar to the multivariate normal distribution in the respect that the pdf incorporates the covariances between all variables, it has the covariance matrix as a parameter or is in some way defined by other dependencies be... |
I am looking for a better term for what I call 'uniformification', where I change data to make it more close to uniformly distributed.
I am doing a project in which I try to make the output of a neural network uniformly distributed over the output space. Let's call the neural network $f(x | \theta)$, where $\theta$ con... |
I have a 2x2x2 repeated measures design and am trying to decompose a 3-way interaction.
As all my factors have 2 levels, I always reach the point that I am doing pairwise comparisons for the simple effects. I have not managed to find a clear answer as to whether I should correct my p.values acquired from these depende... |
I have a sort of an expression for a multivariate normal-gamma distribution as follows:
$$
P(\lambda|w) = P(w|\lambda) P(\lambda)
$$
$P(w|\lambda)$ is a multivariate normal with 0 mean and parameterised with the precision matrix given by $(\lambda\Lambda)$. $\lambda$ is a scalar.
$P(\lambda)$ is a gamma distribution wi... |
All I can find now is somehow based on random walks or graph kernels, which is nice, but I want to have a more or less solid probabilistic foundation for my recommender system for bounds and estimations and stuff which usually comes with probabilistic models.
I probably should clarify: I have a graph and want to build... |
I'm trying to produce a linear regression model, but I only have 25 observations and 34 predictors.
I'm trying feature selection,
library(MASS)
full.m <- lm(fmla, data=mydata)
fsel.m <- step(full.m, direction = "both")
but I get this error,
Error in step(full.m, direction = "both") :
AIC is -infinity for this model... |
Does anyone have the interpretation of a log-loss value? Am I correct to assume that values closer to 0 and 1 are more likely to be an indication that the predicted value is incorrect?
|
I am new to this site. A greenhorn at designing surveys, got a data collection question.
I designed a question to gather what individual thinks with regards to doing X at different locations L1, L2, L3 ... etc. My options for each location L, laid out as a matrix, are as follows e.g.:
I am morally obliged to do X
Ever... |
Let $Y_1,Y_2,\ldots$ be a sequence of independent Bernoulli trials with parameter $p$ and $X_1,X_2,\ldots$ be respectively the first time of success, second time of success,$\ldots$. How can I calculate the joint probability distribution $P(X_1=x_1,\ldots,X_n=x_n)$?
|
Background
I have a population in which my dependent variable is binary with a highly-skewed distribution: Very few records are 1 (doers), most records are 0 (non-doers). I'm using logistic regression to predict the value of this variable.
To deal with this rare-event situation, I made multiple samples of non-doers tha... |
I'm trying to improve my statistics knowledge using football(soccer) results. So, this is a self study problem. You don't have to provide a complete solution. Pointing me in the right direction is sufficient as well.
I have a book where the author tries to show how a current season home edge can be estimated using info... |
Suppose that $X \backsim iid (\mu, \sigma^2)$. We are interested in $E (|X|)$ and ${\rm Var}(|X|)$.
Can you suggest a way to proceed?
I thought of rewriting $|X|$ as : $|X| = Xd - X(1-d)$, where $d$ is a binary variable taking value of 1 if $X \geq 0$.
Of course if $X$ is normal, we have an answer here, but I was... |
I've made 4 linear models. For each of these models, I've plotted the residuals against the fitted values.
First plot: generalised linear model with quasibinomial link
function
Second plot:generalised linear model with quasibinomial link function
Third plot:linear regression
Fourth plot: linear regression
I'm awa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.