instruction
stringlengths
9
38.7k
I have a time series data set of photon arrival times from a detector and need to know whether the arrival time is uniform.It is a continuous distribution? I have calculated the maximum $D$ between the normalized CDF of the photon arrival times. Then what should I do? There is a "$Pr(k\le x)$" in the Wiki link. What do...
I have conducted a survey which asks respondents to indicate the informational sources regarding a product. There are 8 information sources (e.g., internet, newspaper, brochure and so on) and people can choose more than one source. I want to use information source a predictor variable in a multiple regression. However...
I am estimating a linear regression: $Y=f(X_1,X_2,X_3,X_4,X_5)$. My test shows that when the equation includes $X_4$ and $X_5$ only, $X_4$ is not statistically significant ($t$-value=1.26). However, When $X_1$,$X_2$,and $X_3$ are added, its significance is increased to significant level ($t$-value =2.36). In another wo...
Let's say I'm computing some model parameters my minimizing the sum squared residuals, and I'm assuming my errors are Gaussian. My model produces analytical derivatives, so the optimizer does not need to use finite differences. Once the fit is complete, I want to calculate standard errors of the fitted parameters. Gene...
I have been given the pdf: $$f_{\theta}(x)=\frac{x}{\theta^2}e^{-\frac{x^2}{2\theta^2}}$$ and I want to know if the MLE estimator $\theta$ is unbiased. Attempt: I want to maximize the function so I take the natural logarithm and then I differentiate with respect to $\theta$ as follows: $$\frac{d}{d\theta}ln(f_\theta (x...
The problem in hand is that the prior distribution which I have received from experts (loan recovery data) ranges from 0 to 100%. Thus a beta distribution was assumed. Where as the actual data shows that loan recovery can be more than 100% due to fees and interest charges. Thus the likelihood function does not follow a...
I would appreciate some advice on how to use Monte Carlo for estimating probabilities. Generally speaking the problem I have involves running an experiment and counting the frequency of output (which depends on random inputs), and then using the relative frequency to estimate the probability of an output. However, the ...
If I have a market research with population of 100 individuals: 10 spend less than 10 dollars in clothing 20 spend between 10 - 20 dollars in clothing 30 spend between 20 - 100 dollars in clothing the remaining do not spend at clothing. How do I calculate to arithmetic average and standard deviation of the da...
I have a dataset in which I have measured a variable (diff) on 38 participants (sub) in two different conditions (cond.lag). Now I am interested in whether or not the slope of the position of the item differs between the two conditions. That is I am interested in whether or not there is an interaction between cond.lag ...
Recently I began studying machine learning, however I failed to grasp the intuition behind logistic regression. The following are the facts about logistic regression that I understand. As the basis for hypothesis we use sigmoid function. I do understand why it's a correct choice, however why it's the only choice I do...
I have a very large, sparse, weighted, directed graph. The structure is such that it mainly consists of strings of nodes connected with highly weighted edges. These strings can be connected by weak edges or fully unconnected. Is there an algorithm that will detect these highways / currents / linear clusters and group ...
What is the most appropriate sampling method to evaluate the performance of a classifier on a particular data set and compare it with other classifiers? Cross-validation seems to be standard practice, but I've read that methods such as .632 bootstrap are a better choice. As a follow-up: Does the choice of performance...
For reasons I won't go into, I want to test for group differences between an entire sample A ($n=65$) and a subsample B ($n=45$). All of the variables I want use for mean comparisons are continuous. Is there an appropriate test for this? This doesn't seem to meet the sample independence condition for the t-test or...
Alright, so I have about a thousand datapoints that I'm plotting on a chart (scatter plot). Here's a few of the records: x y 2.426032708 10 9.449923509 24 4.409997771 24 -3.125392294 11 13.04820475 26 When looking at the full data on a chart, I can visually see a 2nd order polynomial trendline is...
I need to fit a neural network to my data. I used SPSS 21, but I think it's model summary isn't sufficient. I also used R (nnet & neuralnet), it has a poor report and I can't find a good model summary for it. The last one is NeuroSolutions, I used it. very bad! I can't run a model. What are those graphical icons in it'...
I am now looking for a GLMM, which could fitted a Poisson distribution with a log-link. From what I see until now, lme4 allow to specify the family and the link function for lmer() model, but the lme() function in nlme package doesn't. Is there another way to specify it in nlme? May we also do it when fitting a non li...
The Gumbel distribution has the general form: $$F(y)=\exp\left({-\exp{\left(-\frac{y-\mu}{\sigma}\right)}}\right), \quad y\in \mathbb{R}$$ where $\mu \in \mathbb{R}$ and $\sigma >0$. Let $W_1,...,W_n$ be random variables with that distribution and iid. I want to find good estimators for $\sigma$ and $\mu$. What would b...
For a randomized test, how do we compute the $p$-value? For example, suppose the test is of the form: $\phi(X)=1$ if $X > c$, $\phi(X)=p$ when $X=c$ and $\phi(X)=0$ otherwise. How do we compute the $p$ value?
The data I have are the ages male or female won an award (79 data points, ages, for each gender). When constructing a freq table I used to find the number of classes, $$ n = 79 $$ $$ \frac{\log(n)}{\log(2)} +1 \approx 8 $$ to find the class width for each gender $$ \frac{max - min}{8} $$ The freq tables look like this ...
I have a dataset containing non-normally distributed variables that I want to feed into a distance-based classifier (e.g. K-means). Is it ok to just subtract the mean and divide by the standard deviation to "standardize" it? Or should some other transformation be performed? Is it even necessary to standardize the data ...
I'm statistics newbie and any help in picking a good method to analyze the data that I have would be very welcome: We have a customer that has an active Facebook page, that gets posted on regularity. I have data on their last, say, 200 posts (from the last month) - how many likes the post got and time it was posted. I...
What are the steps involved in the use of Kalman filters in state space models? I have seen a couple of different formulations, but I'm not sure about the details. For example, Cowpertwait starts with this set of equations: $$y_{t} = F^{'}_{t}\theta_{t}+v_{t}$$ $$\theta_{t} = G_{t}\theta_{t-1}+w_{t}$$ where $\theta_{0...
I would like to generate normal random variable vector $\boldsymbol{x}_1$, which is correlated with $\boldsymbol{x}_2$. Also, I would like to introduce some kind of spatial auto-correlation into $\boldsymbol{x}_1$, and $\boldsymbol{x}_2$, respectively. How can we do this with standard statistical software like R or MAT...
I have blanks in my continuous data as the title says. I'm trying to do a pretty complex regression. I don't want to really mention exactly what type as I'd rather leave that detail out for the sake of trying to get a more general strategy or approach (unless it is absolutely necessary). The variables that have blank...
How to cross-validate a model with log-transformed x's and y's and obtain the RMSE in the original units? For example, I got an error message when I used the cvTools package: library(cvTools) library("robustbase") data("coleman") set.seed(1234) folds <- cvFolds(nrow(coleman), K = 5, R = 10) fitLm <- lm(log(Y) ~ ....
Suppose we have the following model: ADF would test if $\gamma$ equals 0 (null hypothesis), and rejects it if the statistic is sufficiently negative in favor of $\gamma < 0.$ But what if, say, gamma equals -5? Wouldn't this mean that yes, there's no unit root, but since $\gamma = -5$ the process still won't be station...
Consider the following text The verdict is out, the jury has held MS guilty of infringements and levied penalties aggregating to $1.50Bn. It will be a massive blow to the reputation of MS. The defendants, NK, on the other hand were elated. It was an important verdict for them to win. The brokerage group has al...
I frequently used to diagnose my multivariate data using PCA (omics data with hundreds of thousands of variables and dozens or hundreds of samples). The data often come from experiments with several categorical independent variables defining some groups, and I often have to go through a few components before I can find...
My data consists of occurrences of words in time windows. E.g.: Day; Word; Frequency 1; "dog"; 45 1; "cat"; 2 ... 2; "dog"; 90 2; "cat"; 4 ... I would like to estimate the ratios of all day-to-day differences (i.e., for dog day 1->2: 90-45/45 = 100%). For cat the increase is also 100%, but due to the small sample size...
I have a dataset that I have to perform a regression task. I split the dataset into 80% for training and 20% for validation. train.index <- sample(N.rows, N.rows * 4/5, F) train.data <- data[train.index,] val.data <- data[-train.index,] I used the GBM in R which has the parameters specified (and other take defaults). ...
I have a distribution which looks a bit binomial, though with a cutoff, i.e.: $P(x) = 0$ if $x \le 0$, rises to a bell-shaped peak at around $x=0.2%$, appears to tail off exponentially until an abrubt cut such that $P(x)=0 $ if $x>1$. I don't want to make any claim as to what kind of distribution this is, as the mechan...
In some data set A, we have: household id, person id, age, sex, and then a simple binary likes donuts / does not like donuts variable. In some other data set B, we have just household id, person id, age, and sex. We have set up a regression in data set A with independent variables: age, sex, and does anyone in the hous...
Can I compare AIC values of a linear function with a non-linear function? Because I get totally different results. One is 4000 other the 6000000. Estimation is done on the same data setvariables.
I have data in the following form: OTU Sample1 Sample2 Sample3 ... 1 1 0 2 2 3 5 0 3 0 5 1 . . . . . . . . So samples are sequencing data. Then all the sequences are pooled together and OTUs (operational taxonimic units) are calculated by an algorit...
I have a question that is very important to me related to the book Basic Statistics for Business and Economics for organizing data into a frequency distribution: Step 1: Decide on the number of classes. The goal is to use just enough groupings or classes to reveal the shape of the distribution. Some judgment is needed...
I am aware that this question may be too broad and that answers are scattered in various posts, but i need concise and organized answer. My dataset consists of linear measurements of cranial dimensions on 600 individual roe deer (50 distinct measurements with a dial caliper). I divide this dataset to unequal groups (co...
I have created an lme model using the same predictors both with and without a specified correlation structure based upon distance between the points (lat/long). I know that I am able to compare the AIC/BIC between different correlation structures (corSpher vs. corExp vs. corGaus), but am unsure if I can directly compa...
In a previous thread, Computing the Decision Boundary of a linear SVM model(Computing the decision boundary of a linear SVM model), the following R code was given as a way to compute the formula of the hyperplane and it's margins, given an input set of hyperparameters: library(kernlab) set.seed(101) x <- rbind(matr...
I'm perplexed by some vertical lines that show up in these scatter plots on a log scale. Population is on the y-axis and the proportion of the neighborhood with the attribute mentioned in the panel label on the x-axis. Is this just an artifact of the transformation? (I thought perhaps this was due to digit preference o...
I have a question about the support vector machine (SVM) kernel trick. How do you find the boundaries of the training data set in kernel projected space? Is that the same boundaries as you can obtain in original input space? Does kernel mapping change the data distribution? I am new to SVM, can someone please give me ...
Today i stumbled upon an filtering algorithm which as final step it says that it scale the output matrix so it will have the same stddev and mean as the input matrix. Is that possible?
Suppose that $\mathbf{X} \sim N_{2}(\mathbf{\mu}, \mathbf{\Sigma})$. Then the conditional distribution of $X_1$ given that $X_2 = x_2$ is multivariate normally distributed with mean: $$ E[P(X_1 | X_2 = x_2)] = \mu_1+\frac{\sigma_{12}}{\sigma_{22}}(x_2-\mu_2)$$ and variance: $${\rm Var}[P(X_1 | X_2 = x_2)] = \sigma_{11...
If I want to perform a logistic regression analysis, can I use the linear regression model to compute the values of the parameters and then apply the formula: $$\frac{1} {1 + \exp-(\beta_0+x_1\beta_1+\ldots +x_i\beta_i)}?$$
For my thesis I developed a psychotherapeutic method to address social competence in aggressive/withdrawn children. I have obtained a sample of 10 subjects (not random, the professors chose the children by their behavior in the classroom) which I divided in two groups of 5 each (again not random, I couldn't choose, the...
I'm trying to calculate the weighted co-variance by hand to better understand what is going on. I have read the Wikipeida article and I understand the concept. However, when plugging in numerical values I encounter the following problem: For example assume I have three observations as given in matrix A $A = \left[ \beg...
I am trying to estimate the kernel density for number of days a child is sick. Around 73% of children report not being sick, i.e. zero. How do I estimate a kernel density for this censored variable using Stata?
Spam filtering is an example of classification task where machines achieve approximately similar accuracy as humans. On the other hand, Asirra (recognizing cats and dogs in images) is an example where humans significantly outperform machines. Are there any examples of classification tasks where machines achieve signifi...
I have two datasets from some Web store (like Amazon). Datasets have one and the same structure. Each record in these datasets has the following attributes: ID - user ID ProductCnt - count of products user bought DepartmentCnt - count of departments user was shopping PayTotal - sum of payments made by user PayCnt ...
I have bootstrapped a linear model in PROC GLM. Now I want to construct CI's around the parameter estimates. For binary variables, it's straightforward: drop the reference category where the parameter estimates are zero. However, for each replicate, the interaction of the binary term and a quadratic term produces tw...
Let's say I have a data set which looks like below and I'm running a linear model to predict income on two predictors. date date-1 income region age mar apr 50 2 55 apr may 10 3 40 may jun 35 1 35 .... Income = B0 + B1(Region) + B2...
I am working on decision making under uncertainty, in which I have four technologies which I should compare them in terms of some decision criteria. These decision criteria are evaluated as probability distribution functions from which I extract two values including modal value and confidence interval values for each t...
I need to compare the goodness of fit of several averaged logistic regression models by calculating the deviance explained. I'm using the MuMIn package in R to average many logistic regression models into a single averaged model. I ultimately want to compare the explanatory power of several averaged models, in part by ...
I am trying to fit a linear model to my data, which consist of a continuous dependent variable and several predictors, some continuous, some discrete and one dummy. I used the R package glmnet, and the best R squared that I get is of 0.5. Is there something that I could try to improve the model? Perhaps, I could scal...
I'm working on something like the following problem. I have a bunch of users and N books. Each user creates an ordered ranking of all the books he's read (which is likely a subset of the N books), e.g., Book 1 > Book 40 > Book 25. Now I want to turn these individual user rankings into a single ordered ranking of all th...
If you have a lamp with burning time 4000 hours. If the time goes forward until the lamp will be destroyed the exponential distribution is 3675 hours, what is the probability of a lamp to be working at least 4000 hours? I don't know how to calculate in order to achieve the result? I have read the document about calcula...
So a Mann Whitney U test is supposedly about 95% as powerful as a t-test when t-test assumptions of normality and homogeneous variance are satisfied. I also know that a Mann Whitney U test is more powerful than a t-test when these assumptions are not satisfied. My question is, is a Mann Whitney test on data where assum...
This question involves a questionable hypothetical scenario, but please bear with me. Suppose I ran an experiment in a coffee stand where the treatment was playing country music instead of the usual soft jazz while people wait. I have panel data on expenditures from the loyalty program, and I am interested in whether p...
After doing semantic differential experiment with two different group of people, there is need to do Factor Analysis, and after that to compare group's coordinates in factor space. I did factor analysis separately for two groups, and unfortunately the result is their factor structure are little (or not little) differen...
I have data set that includes: multiple animals normalised heart rate 2 trials for each animal 3 time points per trial I want to analyse this data by comparing mean heart rate at each time point across trials... So, I have no between subject factor and only within subject factors... This is apparently a two way withi...
I want to use ensemble classifiers for classification of 300 samples (15 positive samples and 285 negative samples, it means binary classification). I extracted 18 features from these samples, all of them are numerical, and there is some correlation between the features. I am new to MATLAB, and I tried using fitensemb...
I'm using SPSS for building a neural network model. In the model summary there is a measure called "Relative Error". What's the formula for it? Is it related to sum of squares error?
I am trying to use JAGS to deal with the following multivariate state space model. $Y_t=X_t\theta_t+\epsilon_t$ $\theta_t=\theta_{t-1}+\nu_t$ JAGS code is neat but JAGS is running too slow when I am monitoring several hundred variables in the model. I decide to use forward filtering backward sampling algorithm (FFBS) t...
Provided I have the value of the Friedman's chi-squared statistic, is there any way to get the corresponding P-value without copying the whole table of critical values in my Python program?
For doing parallel analysis in my real data to determine the number of its dimension, i need to simulate binary data matrix with n(number of case) by k(number of items). the p-values of these simulated data must be equal to the corresponding p-values of items in sample real data with n cases and k items. but unlike the...
I have read that the posterior probabilities of Naive Bayes classifiers are unreliable. Is this true? and if so, in what sense, and why? Specifically, I am interested to know if the probabilities can be used as some measure of confidence of the predictions. For example, can I say that higher posteriors are more likely ...
I'm looking for a method to determine if the number of survey response received from a regional office are substantial enough to compare to each other year over year. For example, one year we might get 29 survey responses in a month from one site but only 5 responses for the same month the next year. Can I say those ...
Short version: When solving for the pdf of a function of a continuous random variable(say, $Y=X^2$), why can't you just plug in inverse of that($\pm\sqrt{x}$) into the pdf of the RV? Why do you have to start from the cdf of the $Y$, substitute $Y$ with $X^2$, and differentiate that to get the pdf? The point of this q...
I am trying to plot the decision boundary of a perceptron algorithm and I am really confused about a few things. My input instances are in the form $[(x_{1},x_{2}), y]$, basically a 2D input instance ($x_{1}$ and $x_{2}$) and a binary class target value ($y$) [1 or 0]. My weight vector hence is in the form: $[w_{1}, w_...
How do I calculate with Excel's formula to answer the question: What is the probability for a student's point is less than 560 by using excel? I know how to answer the question - What is the probability for a student's point is higher than 620. The answer is "=1 - NORM.DIST(620;590;25;true)". Info: Student's averag...
I am working with an experiment on several genes (#41350) based on two factors: Lcells (levels: "pos", "neg"), microbe(levels: "CR", "GF"). I have implemented ANOVA test (aov) for each individual gene separately comparing Lcells*microbe. The result is different p-values of Lcells, microbe and the interaction for each i...
I've got a situation where I'm willing to assume that $$ Q_t = Pe^{-k^f t} + (1-P)e^{-k^s t} $$ This is a double-exponential decay model; there is a fast pool and a slow pool. I don't know $P$, $k^f$ or $k^s$, but I observe $Q_t$ ($\in \{0,1\}$) and a bunch of covariates $D$ (dummies, these are confounders) and $X$, ...
I am trying to determine how to use machine learning models such as for eg., random Forest with (non-financial) time-series data. Using an example, suppose we wanted to find based on monthly scores on subjects for each student how well he/she will do in a month-end exam that occurs every month. Month 1 Data Name St...
I am interested to know why residual plots are plotted with residuals against predicted variable of y and not against y?
I have a classifier that gives its decisions as probability estimations: for each datum it returns a set of probabilities $p_j$ for each known class $j$: $p_j(\vec{x})=P(c_{real}=j|\vec{x})$. I have a training dataset, on which I trained the classifier, and I have a test dataset to test it. In both datasets I have the ...
An excel program runs a Monte Carlo coin experiment. 10,000 coins are tossed 1000 times, with the number of times N heads appearing recorded in a table. Call the number of times N heads appear during a run of the experiment Q. The average value of Q as well as its standard deviation is calculated at the experiment's en...
In a previous question, I asked about comparing the power of a t test to a Mann Whitney test under different situations. One of the answers pointed out that the worst that the Mann-Whitney can ever perform relative to the t-test is that it would require 1/0.864x as much data to give the same power as the t test so long...
When one bootstraps a parameter to get the standard error we get a distribution of the parameter. Why don't we use the mean of that distribution as a result or estimate for the parameter we are trying to get? Shouldn't the distribution approximate the real one? Therefore we would get a good estimate of the "real" value...
I have 70,000 observations for my dependent variable. I have 12 independent variables. After removing zero value and error and missing value form my data set, my data reduced to 4000. Can I still do the multiple linear regression with this data set? I think 4000 data is more than enough for 12 independent variables, bu...
I just made an implementation of P(A|B)/P(¬A|B) for a "people who bought this also bought..." algorithm. I'm doing it by P(A|B) = count_users(bought_A_and_B)/count_users(bought_A) P(¬A|B) = count_users(bought_B_but_not_A)/count_users(did_not_buy_A) Then dividing the top one by the bottom one I get a score which makes...
I need to use Random Forest in my experiments. Although using the same training and test datasets, each time that I train the Random Forest on my training set, I get a different result on my test set. I know that this variation is due the randomness in the algorithm. But how can I decrease that? What is the correct way...
I saw from the lecture that $$E[X|X]=X$$ where $X$ is a random variable. But when I am trying to prove it formally, I cannot reach this conclusion. $$E[X|X]=\int{xf_{x|x}(x) dx}=\int{xf_{x,x}(x)/f_x(x)dx}$$ $$=\int{xf_x(x)/f_x(x)dx}=\int{xdx}=x^2/2$$ What am I doing wrong?
Direction: Achieve the result based on the table and its data by using Coefficient of skewness (CS). Obstacle: I have difficult to make a calculation step by step based on the equation below. I need to learn how to do it from beginning and all the way to the end based formula with support of data below. I have difficul...
The Ecological inference problem is about drawing inferences on the individual level using aggregate data. The main problems is confounding and aggregation bias. One method to solve the ecological inference problem is by using the ecologic regression approach. Ecological regression builds on the constance assumption, b...
I was going through a lecture slides on maximum likelihood estimation (MLE) and bumped into something I couldn't understand. The lecturer was using MLE to estimate a function $$ y_i=Q(\alpha , \beta ,x_i). $$ Now during MLE estimation (estimating parameters $\alpha$ and $\beta$), the term $$ y_i-Q(\alpha ,\beta,x_i)\...
I want to calculate the Top-Down Concordance coefficient that quantifies the agreement between two rankings by emphasizing more on the lowest rankings. The original paper is: R.L. Iman and W.J. Conover, A measure of top-down correlation, Technometrics 29(3) (1987), pp. 351–357. but it is also described in a more recent...
Newbie here typesetting my question, so excuse me if this don't work. I am trying to give a bayesian classifier for a multivariate classification problem where input is assumed to have multivariate normal distribution. I choose to use a discriminant function defined as $\log (likelihood \times prior)$. However, from t...
My understanding is that a power analysis is post hoc if and only if it uses the observed effect size as the target population effect size.
Apologies if this is confused, I'm utterly lost with this. I want to do a questionnaire based experiment with 6 conditions (1 factor with 2 levels and another with 3 levels) and different participants in each condition. I need to do an a priori power analysis to work out the required sample size. I'm struggling to work...
What is a factor from a linear algebra point of view? Is it a vector, matrix, basis, tuple, coordinate system or something else?
Consider the multivariate normal distribution $X = [X_1, X_2, X_3]^T$ with $$ \mu = \begin{pmatrix} -3 \\ 1 \\ 4\end{pmatrix} \quad \quad \Sigma = \begin{pmatrix} 4 & -1 & 0\\ -1 & 5 & 0\\ 0 & 0 & 2\end{pmatrix}$$ I need to find out, if the following random variables are independent: $(X_1, X_2)$ and $X_3$ $X_1 - X_2$...
I would like to conduct a multivariate meta-analysis (or network meta-analysis) to investigate the effect of two factors (A & B, 1 & 2). For every combination of the two factors I have a number of studies that report results that describe the difference in effect size as well as the variance thereof (A1 vs B1, A1 vs B2...
I understand that specificity = True Positive / (True Positive + False negative) sensitivity = True negative / (False positive + True negative) positive pv = True positive / (True positive + False positive) negative pv = True negative / (true negative + False negative) However, assume I know only which percent of po...
I have a linear model with about 6 predictors and I'm going to be presenting the estimates, F values, p values, etc. However, I was wondering what would be the best visual plot to represent the individual effect of a single predictor on the response variable? Scatterplot? Conditional Plot? Effects plot? etc? How would ...
I'm trying to use a zero-inflated gamma model (or a gamma 'hurdle' model). The model is a mixture of logistic regression and generalized linear modeling. I can do this analysis in two steps: 1) do a logistic regression against presence/absence data and then 2) Use a generalized linear model with a gamma distribution on...
This is a question I originally posted on r-help but it is more suited here. I will post the question and the answer I received from Dr. Winsemius and would be most grateful for any additional answers you can provide. I am evaluating survival models using Brier score (“peperr”) and Harrell’s C-Index (“Hmisc”). I am wo...
I'm doing an experiment with a cryostat to determine the critical temperature for lead. To avoid asymmetries, I determine the critical temperature both through heating (going from 2 K to 10 K) and cooling (10 K -> 2 K). Now I have two values, that differ slighty and I average them. So a measurement of (6.942 $\pm$ 0.02...
Weekly's demand of a product has a probability function Demand, x Probability (fx) ------------------------ 0 0,1 1 025 2 0,4 3 0,15 4 0,10 5 or more 0 I have difficult to find out the expected value, variance and standard deviation for the weekly demand. ...
I have a personal project I'm working on and could use some help with the math. Let's say I had two lists. FN: 1 million first names (dupes allowed). LN: 2 million last names (dupes allowed). And let's say we're looking at two names: "Murray": Appears in FN 5,000 times and in LN 75,000 times. "Harrison": Appears in FN...
Consider the plot attached as the histogram of the outcome ($Y$) that is going to be the outcome in a linear regression. Clearly, the histogram shows the outcome is not normally distributed. How can I come up with a transformation that makes the data be normal so that I can fit a linear regression? My goal is to compar...
I have been thoroughly confused by a bunch of online resources regarding this issue. I would really like a simple explanation about the differences between generative and discriminative approaches, and where "discriminant functions" figure in all this. I would especially appreciate any explanation or a pointer toward a...