instruction
stringlengths
9
38.7k
I'm comparing concentration $C$ of a contaminant in the same spatial region at two time point 2000 and 2010 with sample size of $N_{2000}$ = 51 and $N_{2010}$ = 26 (not all the samples are from the same location), mean of $\mu(C)_{2000}$ = 47 and $\mu(C)_{2010}$ = 27 (determined by block kriging of all point observatio...
How do you construct a Bayes classifier for a binary target where it is assumed: $p(y=1)=\alpha$ and $p(x|y)$ both multivariate gaussian?
To design a Neural network for binary classification, We use a single neuron How to know which output function to apply in that neuron? i.e. Linear threshold or Sigmoid?
Specifically, I'm looking for the Artificial Insemination by Donor data set from this paper: https://www.jstor.org/stable/pdf/2680488.pdf Is there a database somewhere to get data sets from papers? I can't seem to find it through googling.
As part of our project, we have used a combination of three machine learning classifiers combined with a voting algorithm over it to obtain reasonably good results. The input data for the classifiers is a set of questions and the output for each is a probability distribution over 6 labelled classes. Now, as part of hyp...
It seems anytime people care about estimating probabilities accurately they choose LogLoss as the evaluation metric. But there are many other evaluation metrics which will prefer accurate estimation of probabilities (and not only ranking or performance at some cut-off). Including RMSE (on the continuous model score vs ...
Let $X_{n}$ be a Markov chain on state space $S = \{ 1,2 \dots, 23 \}$ with transition probability given by $p_{i,i+1}= p_{i,i-1} = \frac {1}{2} \ \ \forall \ 2\le i \le 22 , $ $ p_{1,2}= p_{1,23} = \frac {1}{2} $ $ p_{23,1}= p_{23,22} = \frac {1}{2} $ then we need to show that $P(X_n=i) = \frac {1}{23} $. attempt ...
I have implemented a VAR in Eviews using log first differenced time series data for four stock market indices and the Baltic dry index. The model had autocorrelation when the VAR was calculated on one lag based on the AIC, SIC and HQ. So I added an extra lag to correct for autocorrelation. The resulting VAR has no sign...
I would like to know how does one go about to implement softmax in a neural network. I know that softmax is the exponential divided by the sum of exponential of the whole Y vector which is applied at output layer. Does this mean I do the softmax function to the vector after the processing in hidden layer? If yes, what ...
I'm asking this question based off of Example 10.2.3 in Casella & Berger. We have a sample $X_1, ..., X_n$ from a population with pdf $f$ and (differentiable) cdf $F$. Let $\mu$ be the population median and $M_n$ be the sample median. We wish to compute $$ \lim_{n \to \infty} P(\sqrt{n}(M_n - \mu) \leq a) $$ for some $...
When $x$ is a zero mean random variable then, $\sum_{n=1}^N x_n x_n^T = N \sigma^2_x$ where the variance is $\sigma^2_x$. https://en.wikipedia.org/wiki/Complex_normal_distribution explains about the form of the distribution for complex normal distribution. I am looking at the circularly symmetric complex normal distr...
I've looked at a few of these types of posts but can't seem to find a concrete answer. I am investigating the relationship between 'risk aversion' and 'human capital' for a project. Risk aversion: Acceptable risk is used as a measurement and it takes a value between 10% and 100%, in increments of 10%. (I.E. 10 possible...
I have a given data set and I am asked to fit a pooled OLS regression model, and then a fixed effect model with specific variables. From the research I've done, I am thinking that a pooled OLS regression is just panel data regression. I think it should look similar to the code below, but please correct me if I am wron...
I have a dataset, dat, which has three variables; id which is a independent survey, ecosystem is the class of site surveyed and species are the individual species identified within it. It looks like this: library(tidyverse) > dat %>% head() id ecosystem species 1 0 A Sp_0001 2 0 A Sp_0002 3 0 ...
I'm working with a random effects model for a panel dataset for a number of retailers and their daily sales. Since I am trying to infer the effect of an interaction between two independent variables for the different retailers, running a random slope for this interaction became too complex and so I switched to the appr...
I have a data set with 50.000 observations consisting of 21 features with 14 of them ordinal (surveys answered by people where the structure is: very satisfied, satisfied, neutral, not satisfied). The other features are mostly continuous. How do I deal with missing values? Can I take one feature at a time or do I have ...
Let's say we have multivariate data. Particular variables are measurements at certain feature points of physical specimens we are studying. The problem is traditionally a small sample size. The results are highly dependent on what feature point we decide to include into our experiment (what configuration of them). We w...
Literature suggests that Antoencoders can be effective in dimensionality reduction, like PCA. PCA can be evaluated based on the variance of each principal component generated. How to do the same for autoencoder? One way is to that we can reconstruct the input from the encoded representation from the autoencoder and ca...
I have an independent variable "military expenditure" in a logit regression predicting the likelihood of a state participating in a specific military exercise. The distribution of mil. expenditure is strongly right-skewed, which is why I consider log-transforming it. However, when I compared this model: logit depvar mi...
(This is a follow up on another question Deriving the conditional distributions of a multivariate normal distribution.) I struggle when I condition several variables on another. My question is how to find the distribution of: $(y_1, y_2|y_3)$ where \begin{align} Y &\sim MVN_3(μ, Σ) \\[5pt] \text{where } μ &= (0,0,0) ...
I am currently studying Statistical Inference class on Coursera. In one of the assignments, the following question comes up. | Suppose you rolled the fair die twice. What is the probability of rolling the same number two times in a row? 1: 2/6 2: 1/36 3: 0 4: 1/6 Selection: 2 | You're close...I can feel it! Tr...
I'm merging two datasets into a unbalance panel with 11 periods. My dataset 01 has my dependent variable (normalised citation impact), and dataset 02 has my regressors (network variables of centrality). To deal with simultaneity I'm estimating the dependent variable one year ahead of the network variables, for instance...
In artificial neural networks, the sigmoid and complementary log log activation functions are similar in shape when plotted on a graph. I would like to know when to use the two functions and their pros and cons. Thanks in advance :)
I've tried writing convolutional neural networks a few times and I always, always, always fail. It would be really useful if someone could write out the forward and back propagation algorithms in pseudo code. The more detail the better. It would also be helpful if the size of arrays/matrix into a function could be stat...
I have covariates X, Y, and response Z. X is discrete ("A", "B", "C"), Y is continuous (from 0 - 100). The issue is that for X = A, Y is usually in the range 0-50. From X = C, Y is usually in the range 50-100. Only for X = B does Y cross the entire 0-100 range. What does this mean for my analysis? How do I handle this ...
So I want to know if there is an effect of X, X' and/or X'' on Y. Y is a numerical variable and X, X', X'' are characters. I must also add individuals (ID) as a random effect. To do this I looked at the distribution of my variable Y by a histogram. Its distribution looks like that of the gamma function. So to study its...
Is there any way to compare two or more than three using mann-whitney-wilcoxon test? that will also give Z and R values?
I read through this thread on the difference between fixed, random and mixed-effects. However, I have also heard about main and simple effects. What are they and how do they relate to the ones above?
I'm looking at this site for a workshop on GAM in R: http://qcbs.ca/wiki/r_workshop8 In the end of the section 2. Multiple smooth terms they show an example, where they use anova to compare three different models to determine the best fit model. The output is Analysis of Deviance Table Model 1: y ~ x0 + s(x1) Mod...
I have seen people use ANOVA to compare models to see if adding additional variables is significant, such as this post: Significance of categorical predictor in logistic regression Why ANOVA can be used to compare models? What assumptions is it based on?
I've got a dataset of 1.5 million and am looking to train a classifier (probably RF to start) -- I have 7 classes to predict and 20K text features. Like most distributions of text features, only 20% of them account for 80% of occurrences in the sample. I am going to manually label 10K of the sample to predict the class...
Question: Please help me to explain what the output of the generalized linear model (glm) means. I understand the inputs, but I don't understand what the outputs of the fit are, or what the they mean in terms of the relationship between satisfaction and infidelity. Do the results that I am getting mean that I have no...
I have a large dataset (750k rows). I have a-priorly selected 25 clinically meaningful variables for model building. I would have used likelihood ratio to build my model if not for my large dataset. Due to the large power, my likelihood ratio tests would be always be significant. Any advice on how I should proceed with...
I am stuck with this question and a reasonable answer will be well appreciated. Suppose a numerical data is obtained from the same people by two different investigators. However, we could not link the people, so the pairing is unknown. In addition, nor the investigators could get a hold of all people. For example, inv...
Trying to set up a Bayesian model using the Titanic data available online, specifically making inferences on the data using a Bayesian approach. I want to investigate how survival of a passenger is affected based on characteristics like sex (male and female; 2 levels) and passenger class (1st, 2nd, 3rd; 3 levels). The ...
Say I have 1,000,000 records of customer sales over the last year, recorded at the millisecond level as mm/dd/yyyy HH:MM:SS.SSS My goal is to predict customer sales for the next 3 months. Is there a best practice for what level of aggregation I should use for the prediction? Should I aggregate my last year to 12 mon...
I am implementing the Baum-Welch Algorithm for training a Hidden Markov Process, to basically better understand the training process. I have implemented the iterative procedures described in Rabiner's classic paper. My Implementation is in Wolfram Mathematica. The problem I am facing is the scaling step, if the sequen...
This question is related to how to get a complete data set from one containing missing values, and how to impute new cases. The mice R package impute missing values. Its algorithm produces M completed data sets, where all non-empty values remaing the same, but the empty are reeplaced based on a set of conditional densi...
I have developed a SVM regression model based on rbf kernel in python. The data set has 120 samples with 4 features. I would like to know if it would be appropriate to apply outlier analysis on my SVM model by using Studentized residuals, H leverage, William's plot and Cook's distance. Majority of the applications dem...
I've just started learning about bootstrap methods in the context of econometrics. In Davidson and Mackinnon's "Econometric Theory and Methods," (pg. 167) they compare the results of an asymptotic $t$ test with parametric and semi parametric bootstrap methods. They use a simple regression model with a lagged dependen...
To say I'm new to statistics is an understatement- I've finally gotten a mixed model to work for me, but I'm unsure as to how I interpret the result. A little background: the data I'm analyzing is relative incidence of a disease in 6 cities from 2012-2016, with binary dummy variables representing whether an outbreak o...
I have what seems like it should be simple statistics problem. Given anthropometric data (height, weight, BMI, age, etc.), determine if a sample population has significantly different anthropomorphic characteristics than the larger population. The difficulty however lies in that this test must be done for a pediatric p...
While running my genetic algorithms I notice that they get stuck in local optima quite a bit. Genomes are often no more than 3 mutations away from getting a really big boost in fitness. However, when they only mutate once - they lose fitness. That's why they get stuck a lot. So I was thinking on implementing something ...
I want to use two basic rules of thumb for simple outlier detection/removal of a one dimensional dataset. I will apply both the 3 sigma rule and 3 * IQR. I understand that the 3 * IQR rule is more robust for asymmetrical distributions. I don't want to throw away too much data on a skewed dataset due to the 3 sigma rule...
This is my first time dipping my toes into the Cross Validated waters, so please go easy on this rookie both to CV and to Bayesian statistics. :) I have a dataset of 215,000 observations of two continuous numerical variables, just call them X and Y. Each observation contains a value for each variable, along with the n...
Say I have a poll of 100 people for an upcoming election, which is fairly representative of the population. 45 say they will vote for candidate A, 30 for candidate B, and 25 for candidate C. What is the probability for each of the candidates winning (to win a candidate must have more votes than the other candidates), u...
Is it okay to remove outliers by averaging the data set? Say we have a response $Y$ for every day, and $Y$ ITSELF is an average. Some days happen to give outlier responses. This makes analysis hard, but we do not really want to delete the outliers. So, can we "average" them out? For example, the data might be "average...
I currently have a continuous distribution that's described as a series of trapezoids in two arrays xs and ys, which integrate to 1, as shown in the picture below. I'm trying to find a simple way to get samples from this distribution, preferably using some special scipy function.
I have a dependent continuos variable and two independent variables, both categorical. The first independent variable is the "gender" of respondents (two levels), the second one is their "first language" (5 levels: english, french, ... and other 3). I would like to test whether the dependent continuos variables is sig...
I am having trouble visualizing regularization/shrinkage method for the case of p>n. If I have only two data point, but I want to fit a plane ($y = \beta_0+\beta_1x_1+\beta_2x_2+\epsilon$) through them, by ordinary least squares, I can fit numerous planes with 0 residual. In this case, p=3 and n=2. By implementing pena...
My goal is to train a model to play an endless game such as Flappy Bird. I've seen demo videos where the author explains that they used a neural network and genetic algorithm to train the net. I know how I can use genetic algorithm to find optimal solutions for cases where the input are limited, such as in this example...
I'm trying to perform an ANCOVA in R using weight and length data from a growth study in mollusks, in order to analyze changes in the allometric relationship W=aL^b over time in different treatment groups. For that, I'm log-transforming the data, as log(W)=log(a)+ b*log(L), and while log(w) data is normal, variances ar...
I am using a linear probability model to look at the effect of competitiveness on gambling, using competitive sport as a proxy to measure competitiveness. My dependent variable is a dummy variable, which takes the value 1 if someone gambled in the past 12 months and 0 otherwise. My independent variable is a categorical...
I am reading a paper titled "Stochastic Variational Inference" by Hoffman et al. (link). I am trying to show this result (page 1316) $$D_{KL}^{sym}(\lambda,\lambda + d\lambda)=O(||d\lambda||^3) + \mathbb{E}[(d\lambda^{\top}\nabla_{\lambda}\log q(\beta|\lambda))^2],$$ and I simply cannot derive $O(||d\lambda||^3)$ term...
I have some data in the range $10^{-5} \sim 1$ and I want to see if the model that I have for this data is valid or not. My problem is that, given the range where my data is distributed, if I calculate the RMSD of my data with respect to the model the only important values (for the calculations) are those that are clos...
In Naive Bayes algorithm, we use $$P(c)P(x_1|c)P(x_2|c)...p(x_n|c)\space\space (*)$$ to decide about the class of a sample $\textbf{x} =(x_1,...,x_n)$. It is possible that for a class $c$, a feature $x_i$ and a value $\alpha$, there is no sample in the training set belonging to class $c$ where $x_i=\alpha$. Hence, $p(x...
For testing a simple null hypothesis $\theta=\theta_0$ vs alternative $\theta\ne\theta_0$, the definition of p-value given a UMP (usually) test $\mathbb{1}(T>k)$ (reject when $T>k$ where $k$ be chosen such that $E(\mathbb{1}(T>k))=\alpha$ for some statistics $T$ and realized value $t_0$ is $$P_{\theta_0}(T>t_0)$$ My qu...
I am building a logistic regression model for classification purposes -- I have 8 features - a1, a2, a3, a4, b1, b2, b3, b4. I want to build a model such that I should be able to penalize the coefficients of some of these features. For example, say no penalty for a1, a2, a3, a4 and l2 penalty for b1, b2, b3, b4. I am l...
I am working on a project in political analytics looking back on the recent US presidential election. I have built a simple simulation model that works in the following way: For each state: Aggregate all polls for that state in order to calculate 'true' polling numbers for the 2 candidates. For example, Hillary 46.7...
I am trying to create a factorial design using Minitab. I have 2^4=16 runs, I would like to divide these up into 4 blocks, to spread the experiment across 4 days. I will have 4 judges to complete each of the blocks. Day one: Judge 1; block 1. Judge 2; block 2..... Day two: Judge 2; block 1, judge 3 block 2. At the e...
I was introduced to NMF for data analysis. I implemented some code and obtained the result of basis matrix $W$ and feature matrix $H$. From $V$ ~ $WH$, my $V$ dimension is 5100*1201. I inputted $W$ which has dimension equal to 5100*5. I got sparse $H$ with dimension 5*1201 with values in only (5*)632 columns. Does the...
I am reading a paper that looked at the change in test scores as a result of an intervention (pre-test versus post-test scores). The tests determine the skill level of students, and can range from 0 to 100% for any individual student. They used a t-test to look at the change resulting from the intervention, and used G...
I'm trying to do stat. analysis for data with repeated measures The data is consists of: +--------------+---------+--------+----------+--------+ | Participants | Device | State | Activity | Values | +--------------+---------+--------+----------+--------+ | P1 | Device1 | State0 | Rest | 9 | | P1 ...
Topology of Google Inception model could be found here: Google Inception Netowrk I noticed that there is 3 softmax layer in this model(#154,#152,#145), and 2 of them are some sort of early escape of this model. From what I know,softmax layer is for final output,so why there is so many? what's the purpose of other 2 lay...
I am really hoping someone can help me. I have my data all collected however I am really struggling how to analyse it. My supervisor is away and so I am kind of left here panicking over how to properly analyse my results. I am trying to see whether people who are faster at categorising faces by emotion are also better ...
The data: Daily percentage of time spent watching TV. Data from 25 people. The model: Regression on response variable using covariate effects and random effects. Question: 4 of the people present in the data do not watch TV at all during a regular week. There are only positive values during the weekends. Is it all ri...
I'm trying to repeat the simulation from Berk et al. *Valid Post-Selection Inference'. He uses the following: Consider the models where $M_1: \mathbf{Y} = \beta_0 \mathbf{X}_0+\beta_1\mathbf{X}_1+\boldsymbol{\epsilon}$ against $M_0: \mathbf{Y} = \beta_0 \mathbf{X}_0+\boldsymbol{\epsilon}$ Suppose the covariates $\math...
Can the Dvoretzky–Kiefer–Wolfowitz (a.k.a. Massart) inequality $$ \Pr\left( \sup |\hat F_n(x) - F(x)| > \lambda \right) \le 2\exp(-2n\lambda^2) $$ where $\hat F_n(x)$ is the empirical distribution function of the sample $X$ from the distribution $F$, be extended to comparing two empirical distributions coming $\hat F_n...
I have an experiment where the response to a treatment is measured over time. I now want to test for if the response profile differ between the treated group and the control group. There are measurements for 5 time points (the same for both groups), and at each time point 6 animals are killed and measured for each grou...
Assume that I have a gaussian regression problem, where I have a covariance function K that is estimated based on two kernels K1 and K2. For example K1 is a squared exponential kernel, and K2 is a periodic kernel. How can I know the contribution of each kernel on the prediction of the gaussian process? The solution to ...
Respone data is a vector of proportions summing to one: $[p_1,...,p_n]$, $\sum p_i = 1$. We have covariates (discrete + continuous) that we want to model in a linear mixed model, since we have some random effects. My plan: take log ratios, $log(p_1/p_n), ..., log(p_{n-1}/p_n)$. Model this using multivariate mixed mod...
$X$ is democracy level $Y$ is infant mortality rate (IMR) In my model, 1 unit increase in $X$ predicts a $20\%$ decrease in $Y$ Does this mean 5 unit increase in $X$ will eradicate IMR? In other words, can I conclude that 5 unit increase in democracy predicts $100\%$ decrease in IMR?
I have a question regarding non-additive interaction analysis in "R". I know how to do use lm and glm, here I am working on a specific query. I need to do non-additive interaction analysis between SNP ( 0(homozygous minor), 1 (heterozygous), 2 (homozygous major)) and alcohol exposure (continuous variable) for a particu...
I'm doing a weekly time series analysis and I'm generally getting a mape of 35% is that ok according to the industry standard?
I have a linear regression model that has no multicolinearity problem with low VIF scores. However, when I include the interaction term, this interaction term and its components get very high VIF scores. Can I ignore the multicolinearity problem and high VIF scores of the interaction term in this case?
I have run an A/B test on the ARPPU (Average return per paying user) of two versions of a checkout page and hence I now have two ARPPUs, say x and y. The question is whether or not the difference between x and y is large enough to call it statistically significant. As I did the test via Google Analytics I do not have t...
I have a dataset which has a very skewed distribution across a parameter S, which is in the range [0,1). There are many, many values close to 0, and very few above 0.05. My goal is to draw a random sample from this distribution which has a roughly uniform distribution across S. I start by binning the points into 1000 l...
I have a data set of 10-dimensional cell measurements for leukemia. The data points are unlabeled and the task is to find the ratio of pathological measurements w.r.t. the rest of the sample. In other words the assumption is that there are two clusters/classes (pathological/healthy). The problem is that one class vastl...
What is the go-to reference to understand both the theory behind MANOVA, or multivariate linear mixed models in general, and to understand application? I can find R-vignettes lying around the web, but isn't there a proper book that teaches it from scratch? My current issue is modelling a multivariate response vector, i...
I have been studying linear regression and tried it on below set {(x,y)}, where x specified the area of house in square-feet, and y specified the price in dollars. This is the first example in Andrew Ng Notes. 2104,400 1600,330 2400,369 1416,232 3000,540 I developed a sample code but when I run it, the cost is increa...
I need to solve (for $x$) the following equation $$\Phi\left(\frac{x}{\sqrt{a^2 + b}}\right)\left\{\Phi\left(\frac{x}{a}\right)\right\}^{b-1} = y, \qquad a\in \mathbb{R}^+, b \in \mathbb{N}^*, x \in \mathbb{R}, y \in (0, 1),$$ where $\Phi$ is the cumulative standard normal distribution. I'm not sure whether this is hop...
I'm working on a project regarding the effect of water sources on the number of species inhabiting 3 mountains. Species were surveyed in 5 plots for each mountain and data were organised as follows: a table reporting the number of species (columns) in each plot (rows), and a table containing information about each plot...
I wanted to ask how to test for say time trend breaks in a panel data with 100 ids and 14 years (2001-2014) worth of data due to an incident. The particular incident happened in 2010 so I wanted to look at whether there was a change in the time trend of the outcome variable $y_{dt}$ pre and post 2010. Would the followi...
Law of total covariance says that: $$Cov(X,Y) = E[Cov(X, Y | Z)] + Cov(E[X|Z], E[Y|Z])$$ Then, it seems like partial correlation may be defined as: $$\frac{E[Cov(X, Y | Z)]}{Cov(X, Y)}$$ And this is because $Cov(E[X|Z], E[Y|Z])$ gives covariance between values of $X$ and $Y$ as regressed on $Z$ and $E[Cov(X, Y | Z)]$ i...
For images of small letters a..z with dimension 12x12 gray level, there are 144 feature (pixel values) and limited data set. I want to use the single value Decomposition SVD as a feature which may help in enhancing recognition. I reached the post Using the 'U' Matrix of SVD as Feature Reduction. The post suggest of ...
I often see it noted that to help obtain an identifiable CFA solution you can either fix one loading per factor (usually fixing those loadings to 1), or else you can fix the variance of each latent factor (usually fixing those variances to 1). Hoyle (2014) notes that the former approach- which he calls the "marker ind...
I am reading Efron et al. (2004), Ann. Statist., 32, 2, "Least angle regression". I have struggled with formula 5.19 for some days. It says the minimizing resolution of lasso occurs strictly inside the simplex 5.19. But I can't understand the reason. In order to express more clearly, I paste the related text in this pa...
I am conducting a systematic review about a community-based intervention to prevent hospitalizations in older adults. We identified 3 studies that reported on the outcome of interest and I am not sure whether I can pool their results in a meta-analysis. The first study reported data on the comparison between community ...
The lognormal density function is usually plotted on a linear x axis. I find it useful to visualize the lognormal density on a logarithmic x axis (for example when choosing a lognormal prior in a Bayesian model). To do so, initially I would simply take the log of the x axis and plot the density, but I soon realized tha...
I was wondering if someone could look over my derivation of the probability generating function for geometric RV. I think I arrived at the right conclusions. I wanted to take the alternate route over the infinite sum derivation. Let $X$ be geometric with parameter $p$. And let $Y = 1$ if you have success on the first t...
I'm formulating a questionnaire about recycling behaviour for my school's research project and I want to use the questionnaire to do relationship analysis between different variables or factors that influence recycling behaviour. So in my questionnaire there are sections asking about attitude towards recycling, recycli...
To train a model you need input data that will be split into training data, validation data, and testing data. Then, down the road, there will be input data that will be used to make predictions. What are the naming conventions of all of these data? 1) input data <- ? 2) training data <- probably right 3) va...
I am having trouble trying to conceptualize how to set up a mixed-effect model with data that is both clustered and measured over time. In particular, I have a data set of test scores (DV) from various schools over a four year period (2011 - 2014). The schools are clustered within districts. In 2013, the test was chang...
I have two conditions, A and B (see the figure below). I want to test if these conditions are different each other, if condition A is different from 0 and if condition B is different from 0. I'd like to accomplish this task using a linear mixed model, because I want to consider random effects. This is my model: lm<-l...
According to the definition of (strict) stationary random process "A process is strictly stationary if the joint distribution of any set of random variables obtained by observing the random process $X(t)$ is invariant wrt location of origin t = 0". A corollary of this definition is $F_{X(t)} (x) = F_{X(t+\tau ) } (x)$...
The Gauss copula is defined implicitly from the multivariate normal distribution, that is, the Gauss copula is the copula associated with a multivariate normal distribution. where the inputs of the Multivariate normal are inverses of normal CDFs. However, if the inputs are not inverses of a normal CDF does it imply tha...
I read the following (Wikipedia) regarding contrast coding of categorical variables: Unlike when used in ANOVA, where it is at the researcher’s discretion whether they choose coefficient values that are either orthogonal or non-orthogonal, in regression, it is essential that the coefficient values assigned in contrast...
I was reading the wonderful book on Deep Learning (http://www.deeplearningbook.org) trying to understand convolution. It uses an example in the convolution chapter (http://www.deeplearningbook.org/contents/convnets.html) which is pictured of a function x(t) of the position of a spaceship and w(a) as a weighted avg. Of ...
I am trying to generate MCAR, MAR and MNAR data. MCAR and MNAR are relatively easy. However I am struggling with MAR data. I generate 500 observations with 2 variables (Y and X) out of a multivariate normal distribution with correlation 0.7. library(mvtnorm) set.seed(1994) nobs = 500 nvar = 2 corr = 0.7 miss.prop = 0....
For one of my classes, the teacher asked this question of when the AUC is always equal to 0. He provided hints that it has something to do with the Wilcoxon Rank Sum test and how the AUC is actually calculated (IE: trapezoidal). I have been searching high and low and cannot fathom a situation where the AUC would always...