instruction stringlengths 9 38.7k |
|---|
So, I have a lot of 3D Plot data that are either in the A category or B category. A short truncated sample of one of the data files is this:
ID, X, Y, Z, Energy discharge
0 1.0 -1.0 1.0 0.00871970156553 1
1 3.0 -1.0 1.0 0.0074666937698 1
2 3.0 -1.0 3.0 0.00383590709193 0
3 3.0 -3.0 3.0 0.00433503021393 0
4 5.0 -3.0 3.... |
I am using a count model--a negative binomial regression.
My dependent variable is count data (number of individual customers at each company in the industry). Since at most companies there are no customers, and a small number of companies account for most customers, I need to use a count model like negative binomial.... |
A continuous random variable $x$ has a pdf of the form $f(x) = 2x/9$ for $0 < x < 3$ and $0$ otherwise. I've tried integrating $xf(x)$ between $0$ and $\infty$ looking for $E(X)$ but that gives me a polynomial which will just blow up when I take the limit. Any help would be appreciated.
|
I have a binary matrix of items, movies people have and have not watched.
My task is to build a recommendation system that recommends unexpected movies to a user - movies that are dissimilar to the ones they usually watch.
I'm wondering what approach or approaches would be suitable for building recommendation engine l... |
In a recurrent neural network, you would usually forward propagate through several time steps, "unroll" the network, and then back propagate across the sequence of inputs.
Why would you not just update the weights after each individual step in the sequence? (the equivalent of using a truncation length of 1, so there is... |
I know that given two sets of points, one can use linear programming to see if there is a solution/hyperplane that linearly separates the two data sets. But this holds for completely linearly separability. I wonder in case that the two sets can only be linearly separated by neglecting some points in both sets, then is ... |
A random variable $X$ has the pdf
$f(x) = \begin{cases}x^2 \text{ if } 0 < x \leq 1 \\ 2/3 \text{ if } 1 < x \leq 2\\ 0 \text{ otherwise } \end{cases}$
How do I work with the 2/3 if I'm finding the median?
|
I've got data regarding baseball with four independent variables. I'm confused as to how to determine which variable is the most significant predictor. To begin, I ran a multiple regression and focused on the t-values stated in the coefficient's table. However, 3 of the 4 variables are significant according to the p-va... |
This is my understanding of glmnet:
if OLS is minimizing RSS, where
$ RSS = \sum(y-\beta x)^2 $
I believe glmnet is minimizing:
$ RSS - \sum(\alpha |\beta_j| + (1-\alpha) \beta_j^2) $
where $\alpha=\lambda_1/(\lambda_1+\lambda_2) $
$\lambda_1$ and $\lambda_2$ come from lasso and ridge regression, but I'm confused if $... |
Transforming from logit to probabilities in logistic regression models facilitate the interpretation when terms are additive. But, what about interactions?
How can I interpret probabilities when terms include interactions between continuous predictors, just as the same way as interpreting logit relations?
|
Below is the DF I'm using which contains time series data for 1) operating earnings and 2) Cash flow to equity holders for the quarters spanning Q1'88 to Q4'15:
> dput(dist.frame)
structure(list(QUARTER = c("03/31/1988", "06/30/1988", "09/30/1988",
"12/31/1988", "03/31/1989", "06/30/1989", "09/30/1989", "12/31/1989", ... |
I'm trying to implement word2vec in pymc3 as shown here: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/examples/udacity/5_word2vec.ipynb. Now I can implement everything with regards to the weights and biases. However, I don't know how to implement a sampled_softmax_loss. This function does negative sa... |
I know that textbooks tell us matching is an alternative to random assignment when it comes to quasi-experimental research. It allows us to make treatment and control group similar to each other.
However, another question arises: Can't I use matching not just for that but also to actually achieve quasi-independent(or n... |
I need a help with gaussian processes. I am implementing dependent gaussian processes as on this paper
Boyle, Phillip, and Marcus Frean. "Dependent gaussian processes." Advances in neural information processing systems. 2004.
$P\left( {y,m,\sigma } \right) \sim N(C\left| \sum \right.)
% MathType!MTEF!2!1!+-
% feaagK... |
Suppose I have an unfair coin, and the probability of flipping a head (H) is p, probability of flipping a tail (T) is (1-p).
If I flip the coin 6 times, I'm wondering if the probability of HTT???, and the probability of THT???, and the probability of TTH??? are the same? Suppose each flip is independent, and ? means "d... |
I need to classify social media texts, there are just positive and negative classes and everything seems to be easy.
However the main problem is in an extremely large covariate shift between training data and test data for BOTH positive and negative examples.
Yes, we some way don't really know what we are looking for ... |
I have measurement items like (just as an example):
"Having taken medicine A ....
I felt that I am feeling better
I felt that it helped me
I felt that it is necessary to take it again
I felt that I might need it
Each of the four items were measured on a 7 point likert scale with "1 = Not at all" ... "4 = Neutral" ..... |
I'm trying to understand why the sum of two (or more) lognormal random variables approaches a lognormal distribution as you increase the number of observations. I've looked online and not found any results concerning this.
Clearly if $X$ and $Y$ are independent lognormal variables, then by properties of exponents and g... |
Conceptually, a Decision Tree should work just fine with categorical variables.
Why does DecisionTreeClassifier require numeric variables in the training data set?
PS. I tried dummy variables (which ignore the mutual exclusivity) and weight-of-evidence (loses information), I wonder if there is a better approach...
|
I'm trying to figure out which distribution is appropriate for my data.
I use descdist() which is the package fitdistrplus in r.
And here is my question.
fit.weibull<-fitdist(dermat,"weibull")
the data 'dermat' moving average data with window=7 (week)
cause, data has 7(=week) seasonality.
plot(fit.weibull)
fit.weibull... |
What is the core of population-based survey experiment method?
Especially on issues as follow:
manipulation
control
random assignment
Is there any distinctive element contained in the method which makes it special?
|
I want to see how 7 measures of text correction behaviour (time spent correcting the text, number of keystrokes, etc.) relate to each other. The measures are correlated. I ran a PCA to see how the measures projected onto PC1 and PC2, which avoided the overlap of running separate two-way correlation tests between the me... |
The LogSumExp trick is often introduced in the context of Naive Bayes, where the computation of the class posteriors would lead to underflow.
Specifically, we need to compute
$$
p(y=c|\mathbf{x}) = \frac{p(\mathbf{x}|y=c)p(y=c)}{p(\mathbf{x})}
$$
Since $p(\mathbf{x})=\sum_i p(\mathbf{x}|y=i)p(y=i) = \sum_i p(y=i)\prod_... |
I've been applying the probability integral transform as shown here:
https://math.stackexchange.com/questions/592076/mapping-cdfs-to-each-other?noredirect=1&lq=1
I want to standardise the data that is wiebull distibuted by mapping it to standard normal:
The original histogram is shown below:
When I transform to the st... |
We have a peculiar problem, for which we have many questions, but cannot seem to find satisfactory answers (we did find a few ideas as to what to do, but we are not very certain they apply to our problem). If you find any of the following questions to have already been answered, and those answers should apply to my pro... |
The partial autocorrelogram function for the time series I am working with shows a significant spike at lag 1 and a minor one at lag 3. For another time series, it shows the significant one also at lag 1 and another one at lag 6. How do I interpret this in terms of the time persistence of the series?
|
I need to compare three groups of five subjects each (between-subjects design) where a variable is measured between time 0 and time 1. The interest of the study is on relative or raw difference.
I wonder whether I should use repeated measures ANOVA or one-way ANOVA. My guess is that I am removing any within subject var... |
is it possible to apply the Bayes factor to tests of/for independence/homogeneity (Chi-Square)? You can find a file below. The contingency table shows the data (nominal) found for 9 variants in two groups; the problem with usual frequentist statistics here is that I would probably need to adjust the p-value (Bonferroni... |
In using the neuralnet package, the input data set to the neuralnet call cannot have string/character variables - for example column "username" with say 10-20 different values, depending on the data set. To convert that I would prefer to be able to enumerate that column - so say "John" becomes 1, "Mike" becomes 2, etc,... |
Why are data that are one and a half times the interquartile range (1.5IQR) or more, measured from the first and third quartiles, classed as outliers. Why 1.5?
|
I have a binomial distribution with parameters $N$ and $p$, and the estimate for the mean of my distribution is N$\times p$. The values of $N$ and $p$ are such that we can use the Gaussian approximation to estimate the $\sigma$ of the mean as $\sqrt{(n\times p (1-p)}$. The problem is that I have already estimated $p$, ... |
I have a number of time series with around 5000 rows. Each row has 6 attributes and a class assigned. My problem is to determine which attributes are more effective in the classification using R, preferably (Similar to ANOVA analysis in regression where some of the variables are determined to be insignificant).
The at... |
Suppose that
$h \in \mathcal{H}$ is a hypothesis in some class of binary classifiers $\mathcal{H}$,
$\mathcal{D}_n$ is a training dataset of size $n$,
$\mathcal{L}$ is the loss function for the binary classification problem defined as
$$
\mathcal{L}(x,h) =
\begin{cases}
1, & s(x) \not= h(x) \\
0, & \text{otherwise}
... |
In my study I will be measuring workload with several metrics. With heart-rate variability (HRV), electrodermal activity (EDA) and with a subjective scale (IWS). After normalization the IWS has three values:
Workload lower than normal
Workload is average
Workload is higher than normal.
I want to see how well the phys... |
I investigated dataset using histogram and normaltest. I used scipy.stats.normaltest, got this result:
NormaltestResult(statistic=5.6921385593741958, pvalue=0.058072138171599869)
The p-value is slightly larger than 0.05, which means it is normal distribution. But, the histogram seems to be bimodal, so can I conclude ... |
My question is as follows:
I am using transcranial magnetic stimulation (TMS) to assess whether applying TMS for 10 minutes, 20 minutes, sham (not applied), active control (applied on brain site not responsible for the task) will impact object naming, and action naming. Furthermore, The TMS is applied every week for th... |
I'm having a question regarding, how should the sign of returned coefficients (e.g. by R's lm()) in linear model be interpreted.
Particularly I was doing a model on some kids' test scores and there's a categorical variable motiv $\in \{0,1\}$ where $1$ signifies whether the kid was motivated to study and $0$ signifies ... |
I am doing binary text classification and I have some feature sets (unigrams, bigrams, dependencies, etc.) and each one of these performs very good individually. For example unigrams alone achieve 89% accuracy and bigrams alone 87% accuracy with 10 Fold CV. But the problem is that when I combine them the accuracy is ar... |
I am trying to sample from a truncated normal using the standard probability integral transform as described on wikipedia with
$$ x = \Phi^{-1} ( \Phi(\alpha) + U*( \Phi(\beta) - \Phi(\alpha)))*\sigma + \mu $$ with $U \sim Uniform(0,1)$, $\alpha = (a-\mu)/\sigma$ and $\beta = (b-\mu)/\sigma$. In my application, $a = 0.... |
I am trying to implement and customize a changepoint detection method based on Bayesian Inference (referring to https://arxiv.org/pdf/0710.3742v1.pdf). Now I struggle understanding the conjugate prior choice and its corresponding update parameters (step 1 and 8 in the image below).
I do understand the basic idea behind... |
I have some proportion data (percentages). I would like to compare two groups of these proportions to determine if they come from different populations (compare the means). I have a basic question about comparing distributions of these data: when is it appropriate to use the arcsin transform and a t-test vs using a no... |
In Multivariate Analysis (Mardia et al, pg 324), the authors write
"it might be thought that a linear combination of two variables would
provide a better discriminator if they were correlated than if they
were uncorrelated".
Before studying the problem, why would one hypothesize this? My guess (which was incorrec... |
If you draw conclusions in your study based on reasoning like this paragraph below, it's automatically flawed, is it not?
"At the end, we compare the average energy levels of the two groups
based on the observational study even if we find the difference
between the average energy levels of these two groups of peop... |
The mode of a (finite) data set is the value with the most number of appearances. What about the opposite of the mode? That is, the value (from among the data) with the least number of appearances? Is there a term for it?
|
Various sources have instructed me how to use deviation coding (aka effects coding) in R (see here, here, and here).
My question though, is how to go about doing this for LASSO regression using glmnet?
To properly create a matrix to feed glmnet for LASSO regression, I use model.matrix() (as recommended by here, here,... |
I have 4 endogenous variables: call them w, x, y, and z. I am interested in the reduced form VAR where w is the dependent variable. Having run Granger tests, I found that only x and y Granger-cause w at a certain significance level.
Given that z is not found to Granger-cause w, can we infer anything meaningful by plott... |
So I have been given two regressors in a multivariate regression and their standard ERRORS:
Beta1 = -0.0028
Beta2 = -0.0010
SE1 = 0.0008
SE2 = 0.0007
furthermore I can assume that the test-statistic I construct is normally distributed, so the critical value for a test at the 5% level of signicance is 1.96.
I need to kn... |
I'm analyzing the growth rate of a data set, and am unsure what is the best approach to make sure the growth is independent from another data set.
Taking a simple (fictive) example, I'd like to evaluate the growth rate of internet searches for "Pepsi", independently from the underlying growth rate of all internet searc... |
Suppose I have 5 predictor variables, a binary response variable, and 100 data points. I want to try to predict what the chance of the binary response being -1 or 1 is, but 99 of the response values are -1.
What is the best way to go about making predictions on this data set (with heavily 'skewed' responses) without c... |
I need a clarification on interpreting Wilcoxon Rank Sum (Mann Whitney) test results using SAS. Here is a sample results look like. I am trying to form a hypothesis and interpret the results. In this case, is this the test for average or medians, since the results display the mean score. Also should I use the normal ap... |
I'm going through the Kernel chapter from Kevin Murphy's Machine Learning book and he talks about the importance of positive definite or Mercer kernels:
My question comes from the last sentence: What makes φ depend on the eigen functions of κ, and how does that make $D$ be a potentially infinite dimensional space?
I t... |
I'm trying to visualize some nominal data vs multiple numerical axes. Is there a standard method for doing so?
I'm showing the Iris data set below. In this case, the X axis is Petal Width, the Y axis is the Petal Length and the value shown is the Species. What is the type of chart below called and what are the dif... |
I want to find the most efficient Feed forward Deep Neural Network architecture for my problem (binary classification).
Study roadmap:
Create network contains only one hidden layer,
Tune hyperparameters
Add more layers and goto 1.
I based my neural networks on Keras library with Theano backend.
Let me show my co... |
Lets assume that we have a data set with a structural break at some point $x$.
This can be tested using the Chow test.
To build a model that takes this break into account, I stimate two linear models for the two subintervals defined by the break point. Each model has $n$ coefficients. Now I want to calculate the AIC. ... |
The population of a country increased by 20% in the first decade, 30% in the second decade and 45% in the third decade. What is the average rate of increase per decade in the population?
The answer is 31.28. The best I got was near 30 when I took the geometric mean $(20\times30\times45)^{1/3}$ but obviously it's inc... |
The matrix-variate normal distribution can be sampled indirectly by utilizing the Cholesky decomposition of two positive definite covariance matrices. However, if one or both of the covariance matrices are positive semi-definite and not positive definite (for example a block structure due to several pairs of perfectly ... |
We are doing a lab test where one of the criteria for the material being tested to "pass" is:
no individual specimen shall deviate more than 3 standard deviations from the mean for the 10 specimens
I can’t for the life of me create a set of data where 1 specimen is outside of 3 standard deviations. The data points we... |
I have measured the presence of a disease (present/absent) in pupils at 10 different schools. Then, disease severity was determined as mild, moderate and severe in those pupils with the disease (the different severity levels are mutually exclusive, which means that one can appear in only one severity category). The pro... |
I have data on a randomized study.
Patients were randomly assigned to treatment and control; there were a total of only 25 patients.. Each patient had 2 surgeries, the randomization was for treatment after the surgery. Each patient was measured at 7 time points on several measures. All the measures are ordinal level... |
I have two price series and need to run a Johanssen test for cointegration, followed by a VECM to estimate the cointegrating parameter. My lags tend to be quite short, between 1 and 5 periods.
What is the "appropriate" minimum number of observations: 30? 200? 400? 1000? (I need to divide the data into sub-periods).
... |
I have to prove a hypothesis that more than 50% of a population is aware of invasive species. I did a survey and found that 83% of the population is aware of invasive species. Now, I have to statistically analyse the results and I am stuck. I have no idea which test to use for this.
|
I'm stuck on something in the derivation of the Principal Components.
We have random vectors $X$ of dimension $p$. We want to find linear combinations of $X$, $a'X,$ where $a \in \mathbb{R}^{p}$ that satisfy the constraints:
(1) $\max_{a_{1}\in\mathbb{R}^{p}} \big(Var(a_1' X) \big) $ subject to $a_1'a_1 =1$
(2) $\max_{... |
I know that a necessary condition for spurious regression is a R squared approaching 1. However, is a R squared approaching unity a sufficient condition? Said another way, if two non-stationary variables are found to be cointegrated, should we still expect a R squared approaching 1 when an OLS in levels is estimated ... |
I come across three different statistical measures to compare two sets, in particular to segmentation on images (e.g., comparing the similarity between the ground truth and the segmented result).
What are the differences between these measurements (they are quite similar mathematically):
Dice
Jaccard
Overlap
I see pa... |
Specifically, why does Equation (BP1) not have the same form as (29)?1
In order to explain backpropagating the gradient through the neural net, he starts by defining something he calls error (Equation (29)).
The error in a neuron j in a layer l is given by the partial derivative of the cost function C with respect to ... |
I'm starting out learning about gradient descent, and have a couple of conceptual questions.
I noticed a common pitfall of gradient descent is getting stuck in the local optima. How can this be avoided (while still being considered gradient descent)?
If a function alternates up and down infinitely across the x axis, d... |
I'm building a system which needs to poll some feed of articles in a smart way. When polling, I can only know the number of new articles (could be $0$ - no new articles). I don't have the info when each article was published.
So I thought about a relatively simple solution: Exponential Moving Average. Something like... |
I want to look at the correlation between a change in prevalence of a particular outcome (expressed in percentage points) and a continuous predictor variable which is an index. So for the response variable, I have a range of values between -1 and 1, while for the predictor, the range is between 0 and 1.
While a linear ... |
I am working on segmenting plantar foot image. i am finding it difficult to find the edges of the foot without the details inside. Please take a look at the canny edge detected. It is full of noise and I would require a binary image of the two foot as given in 2nd image. Please help.
|
This question is relevant to bivariate normal distribution. I figured out most of the steps but am currently stuck on finding the closed form of a double integral.
Let $x$ and $y$ be of a bivariate normal distribution. Note that $x$ and $y$ are not independent, we denote $\rho$ to be the correlation between the two.
... |
Let's say you have some time series data that you think exhibits a drift, but you are unsure. Is it better to test first a regression with a drift and a trend to see if that is stationary?
Secondly, if it is stationary, then you know the drift is also stationary. If it is not stationary, then check only the regression... |
I am reading the multi-armed bandit survey by Bubeck and Bianchi. This question is for the lower bound section (2.3) of the survey.
Let us define $kl(p, q) = p \log \frac{p}{q} + (1- p) \log \frac{1-p}{1-q}$.
The authors consider a $2$ arm bandit problem with Bernoulli arms such that the expected rewards, $\mu_1, \mu_... |
Let's say that I have a list of every single hospital on the west coast (totaling 100,000) and what they charge for an ER visit per patient. If I want to find traits of the top 10% highest billers that will explain why they are in the top 10%, then what sample size will I need? I have no other traits other than hospita... |
I am trying to answer a question about the following situation:
We have that a poll says that 36% of the people is going to vote for the candidate X. But there is a journalist that argues that 40% of the people are going to vote for the candidate X.
We have to give a confidence interval (95% of confidence) and say if... |
I am performing a k fold cross validation in order to fit the cost parameter of a linear SVM model (I am using the LiblineaR package in R). So for each cost value I have k models, each trained on a different but overlapping sample of the dataset. The next step is then to train a model on the entire training set and t... |
This is the pseudo code I am using for my reinforcement learning programme.
and consider this is my reward and action-value matrix (these are sample matrices)
R= Reward matrix with row (1:4) as state and column as action(1:4)
[0,0,0,0]
[0,0,0,1]
[0,1,0,0]
[0,1,0,0]
Q= action-value matrix with row (1:4) as state and... |
I have a (for me tricky) statistic exam question and can't find the answer. All I know is the information which I post here. Here we go ...
A research company asked 1000 participants which party they would vote in the next election. The calculated CI is [31,53;36,47]. Unfortunately, the research company forgot to tell ... |
I'm a little confused as to what $P(X=Y)$ means here. I'm not quite sure what are the steps I'm supposed to take.
|
I have a question regarding statistical updating.
Basically I have a probability density function of a random variable X and, at each time step, I obtain a new sample $x_i$ belonging to this distribution. I know that X ~ logNormal($\mu,\sigma$). I am looking for a way to update this probability density function as a ne... |
40% of population are male, 60% are female
$$ M \sim N(0.7,0.1^2), \qquad F \sim N(0.6,0.05^2) $$
How to find the normal distribution of the whole population?
|
In many tutorials or manuals the narrative seems to imply that R and python coexist as complementary components of the analysis process. To my untrained eye, however, it seems that both languages sort of do the same thing.
So my question is if there are really specialized niches for the two languages or if it's just a ... |
I have kind of 'distance matrix', every element of which is represented by number of interactions (contacts) between pair of positions on single path-like(curve) object.
It is stated, that number of interactions (contacts) is linearly proportional to the actual distance between two positions in space. # Closer they are... |
We've got around 2 million movies in our database. The data for all those movies is extracted from a third party service. Every week we get new movies in our database (when they're created at 3rd party service). All movies have to be updated after creation. The thing to solve here is the best schedule to check for upda... |
I am trying to decide what covariance structure top specify for a mixed model in R.
When comparing two models with an unstructured covariance (corSymm) i can specify whether or not to allow coefficients to vary.
Here is my syntax
str(lCtr <- lmeControl(opt = "optim"))
m1 <- lme(y ~ Time, random = ~ 1 + Time | id, da... |
I'm working with time-series data for someone else that counts events related to emergency departments over a 48-month period during which closures occurred and would like to investigate the effect of these closures. Measurements are either counts of events or a proportion at each time point.
Initially they requested ... |
How to "easily" interpret the F-statistic degrees of freedom (such as given in R's summary.lm)?
By "easily" I mean that rather than answering with some theoretical treatment on degrees of freedom of the F-statistic, which can be found from the internet, what are the F-statistic's degrees of freedom useful for when tryi... |
Say you have normally distributed iid random variables, $X_1, X_2,....,X_n$ with with known mean and variance. And you wanted to find the limiting distribution of one of these
$Y_n = max\{X_1, X_2,....,X_n\}$ or $T_n = min\{X_1, X_2,....,X_n\}$
Is it possible to find the limiting distribution with using the mgf of th... |
McCulloch and Pitts (43) are often credited with inventing the Binary Threshold Unit later used in the Perceptron. Who first came up with linear/sigmoid/tanh units?
|
I want to know that how do deal with the data that has some measurement uncertainties in it. So for example, Let's say I have a set of population densities data for different counties and I want to calculate the average population density. Then I look at three scenarios- 1) I take the weight as area of counties and 2)... |
I'm trying to simulate data and then fit a non-linear mixed effects model to it. But in most of the cases my random effects are perfectly correlated, and I don't understand why.And I think this is the reason for the frequently occuring errors (singularity of matrices or the algorithm doesn't converge...)
The figure sho... |
I have come up with the following understanding about Expectation of RV.
Please, correct me if I am wrong.
Definition:
Expected value of a RV says that, if a random experiment is repeated n number of times, what would be the value that you expect to see most of the times.
Expected value of a Random Variable is a value.... |
I am using the mixed logit model implemented in R to estimate coefficients for the model. However, I am not sure which parameters I should define as random and which as not. Also, is it possible to define mixed nested model in R, because some attributes are correlated?
The problem is as follows. People should choose be... |
Here is an example of my question:
set.seed(123)
x<-rnorm(100,2,3)
y<-rbinom(100,1,0.6)
years<-abs(rnorm(100,50,5))
event<-rbinom(100,1,0.7)
library(survival)
summary(coxph(Surv(years, event)~x*y))
Call:
coxph(formula = Surv(years, event) ~ x * y)
n= 100, number of events= 67
coef exp(coef) se(coef) z P... |
In the regression analysis, some variables don't have units. How to interpret the coefficients of such variables? Should I convert them into z z-score before run regress? Should converting be done after taking log of variables? I'm quite new to regression and hope someone can help me.
|
Are there any distributions that model a person's spending habits?
|
I've recently began work as a commercial analyst for a large company after graduating from university 3 months ago with a first class Bsc in Business Economics. On my course we covered a lot of time-series econometric modelling, however I'm not even close to being an expert by any means. I digress:
My manager for an ex... |
I am trying to understand the concept of Gower's (dis)similarity measure and I have problems to understand the scaling method for numeric variables.
Are numeric values just scaled between 0 and 1 with the following formula or how is scaling performed?
$$x'={\frac {x-{\text{min}}(x)}{{\text{max}}(x)-{\text{min}}(x)}}$$... |
If $Y_n$ is a Poisson random variable with mean $n^{1/2}$
$S_n = \left(\frac{\sqrt{2} Y_n - \sqrt{2n}}{n^{1/4}}\right)$
If we consider a sequence $S_1, S_2, . . . S_n$, provide the the limiting distribution.
Attempt
Mgf of $Y_n$ is as follows:
$M_{Y_n}(t) = exp\sqrt{n}(e^{t} -1)$
So for all $t \in \mathbb{R}$, we hav... |
What is a Moment Generating Function (MGF)?
Can you explain it in layman's terms and along with a simple & easy example?
Please, limit using formal math notations as far as possible.
|
How can we generate a sample in the interval $[a,b]$ based on a Gaussian distribution?
If we have a Gaussian random generator, just by mapping the number to the range and pruning (ignoring) the values outside of the range, does our sample still follow the Gaussian distribution? In short, how correct is this approach?
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.