instruction stringlengths 9 38.7k |
|---|
I was wondering if I can find a certain way that show me the number of clusters my data has by its nature.I don't want to find the optimal number of clusters for clustering, I want to know the number of clusters my data has by its nature not what i wanted it to be.
Any little help would be greatly appreciated.
|
Assume I want to convert time series features into stationary features by taking the percentage difference from the previous time step to the current. This can result in massive spikes where the feature went from 0 to say, 10,000 and then back again.
How can I best deal with these types of features so that they would b... |
I'm new to this forum so I hope this question is appropriate. Please let me know if there is anything I can do to
improve the question. I simply have a situation in which I am considering the best modeling approach, and would love
insight from statisticians.
For a given security numbered $i$, let $r_{i,t}$ be its time-... |
Let $\bf X$ be the p-variate dataset. I want to modify the data to p-variate data $\bf Y$ so that its variables satisfy precisely a given SSCP (or covariance, or correlation) matrix $\bf R$: $\bf Y'Y=R$, and the requirement is that the modification of values is as small as possible (in terms of squared error): $\mathbf... |
I am taking a course about ridge, bridge and lasso regression. My teacher showed us that the solution to ridge regression can be written in the form
$$
\beta=(X^TX+\lambda I)^{-1}X^T Y
$$
My question is do lasso and bridge regression have a similar solution?
|
Recurrence Analysis requires even time sampling.
Is there a workaround to apply this technique to unevenly spaced data?
|
In the recommender systems section of his famous Coursera machine learning course, when Andrew Ng wants to introduce collaborative filtering, he says that each movie has some features and each user has some parameters. Why he distinguishes between users and movies aspects? I think we can say that as the features of the... |
In R, I'm using the ksvm function from the kernlab package. My data has about 100,000 rows and 800 columns, so it can take an hour or more to train the SVM depending on the kernel.
One thing I have noticed is that the C parameter affects training time significantly, while only slightly affecting results. From the docs,... |
Usually, when I am given a dataset of $d\le 3$, I just plot the data and observe if linearly separable behaviour exists. When the dataset is of high dimensionality, I always follow a simple trick to identify if it is linearly separable or not: I run an SVM classifier using Linear kernel, and if the resulting accuracy i... |
Let's assume that we have some data $x_1,x_2,\dots x_n$.
Moreover, we have a parameterized distance metric $\delta(x,x';\theta)$ for some $\theta\in \Theta$.
That's it, I have no labels, no clue about number of clusters,... How to determine the best $\theta$ that can explain the data best.
Without loss of generality, ... |
I am currently trying to understand what the example code provided as part of Spark's TF-IDF implementation is doing.
Given the example code block (taken from Spark's Github repository)
val sentenceData = sess.createDataFrame(Seq(
(0.0, "Hi I heard about Spark"),
(0.0, "I wish Java could use case classes"),
(1.0,... |
I'm training a model and among the features, I have the language of the users. Right now I have done one-hot encoding on the language feature. But I think it would make more sense to have the language as an embedding since some of the languages are close to each other (e.g. Portuguese and Spanish) and should be taken i... |
I am learning about Bayesian Linear Regression from the book "Pattern Recognition And Machine Learning" (Bishop, Christopher M.). I want to recreate graphs from illustration 3.8
and this require to use Gaussian basis function of the form:
I have a problem fully understanding the meaning of the parameters used in this... |
I am trying to find the best approach to this problem.
Consider that there is a type of text document, for instance a letter. I will refer to this as the Document Type.
I will refer to an individual instance of a Document Type as a Document.
A Document is a list of words, and includes word, x_position and y_position ... |
In a mathematical finance text by Ubbo F Wiersema, I came across the following
Say $\Delta t$ is very small. $\Delta B(t)$ denotes $\textit{brownian motion increment}$. Then $E[\Delta t\Delta B(t)]=0$. $Var[\Delta t\Delta B(t)]=(\Delta t)^2$.
It is also written that $Var[(\Delta B(t))^2]=2(\Delta t)^2$.
How was the cal... |
Given the chi-squared test statistic:
$$X^2 = \sum_{j=1}^k \frac{(N_j - np_j)^2}{np_j}$$,
And given that the random variable $M_j$ is the number of the $X_i$'s that would fall in the $jth$ interval $[a_{j-1},a_j)$
And given the knowledge that the fitted distribution is in the true one (test is accepted), what is the di... |
In an RNN transducer (as defined here), the input to the prediction network at train time is $\hat{Y}$, where $\hat{Y} = \text{blank},y_1,y_2,\dots$, and the output targets are $Y$. (So the network is trained to predict the next label, given the history of labels seen so far.)
At test time, the prediction network does ... |
How do we derive the associated Bellman equation from the optimal value function, $V^*(k)$ using the optimal action-value function which is $Q^*(k,a)$?
Currently I've have/derived the following:
$V^*(k)$ := $\max_{\pi}$ $E\left(\sum^{\infty}_{n=0}R(X_{n})|X_{0}=k\right)$
$Q^*(k,a)$ = $R(k,a)$ + $\sum_{l}P^{a}V^*(k)$
An... |
In regression analysis, my book says that the condition $E(\epsilon_i|X_i)$ is called the "exogeneity assumption" and that the condition $E(\epsilon_i|X_1, ..., X_n)$ is called the "strict exogeneity assumption".
Why are they called this way? What do they have to do with the conceptual idea of $X$ being exogeneous, i.e... |
How could I perform a power analysis of a permutation (randomized) test?
Also if you know some R package I would be greateful for any recommendation.
|
I'm trying to understand the results of a classifier I used to predict two possible classes. Here is what I get:
Precision Recall F1-score Support
0 0.97 1.00 0.98 341091
1 0.60 0.18 0.27 12629
Avg 0.96 0.97 0.96 353720
I... |
I have a time series of log-returns of a stock. I want to determine whether the time series is just white noise or if there are some other pattern. How to I use the definition of white noise to make a conclusion?
|
I can do use pls2 to predict multiple dependent variables from a matrix of predictor variables at once as follows:
library(pls)
sensory0 <- cbind(green = oliveoil$sensory[,'green'], syrup = oliveoil$sensory[,'syrup'])
oliveoil0 <- list(chemical = oliveoil$chemical, sensory = sensory0)
oopls0 <- pls::mvr(sensory ~chemic... |
From the compound sampling model where:
$Y_i | \theta_i \sim Poi(\theta_i)$
The marginal distribution of $\theta_i$ is $G$, non-parametric.
We get that the Bayes estimate of $\theta_i$ under squared error loss is the posterior mean:
$\theta_i = \mathbf{E}(\theta_i|\mathbf{y}) = \mathbf{E}(\theta_i|y_i)=\frac{\int(u^{y... |
I am given the follow problem and am having trouble finding the sufficient statistic.
Suppose that Y$_1$, Y$_2$, ..., Y$_n$ denote a Weibull density function, given by:
f ( y | $\theta$ ) =
Let $Y_1, Y_2, ... , Y_n$ denote a Weibull density function, given by:
$$
f (y | \theta ) =
\begin{cases}
\frac{2y}{\theta}e^\... |
This is a cross-validation question.
I am running into a problem with a database and am using CMA. I am under the impression that once I compute effect size (d) and variance I should be able to accurately estimate sample size (N) for that comparison using the following formula, N_Calc:
N=(8+d^2)/(2*var)
I have no probl... |
Let me provide some background. I am writing a paper on the effectiveness of specialist vs. generalist software companies. I have data on the number of products of theirs that are being used across several industries. I would like to be able to measure how concentrated the data is in a particular category (industry ... |
I noticed that it's very hard to find something on binned residuals explained in a easy way except for this.
This is my first time approaching to binned residuals. I understood that is not useful dealing with residuals as we know (observed minus estimated), when we have a logit regression.
The logic behind is to bin t... |
I am reading the book Machine Learning - A Probabilistic Perspective by Kevin P. Murphy.
In the chapter about linear regression he introduces a method where you estimate the parameters for the Gaussian distribution via maximum likelihood estimation:
Instead of maximizing the maximum likelihood he minimizes the negati... |
I'm trying to analyze results from two areas at two different time points. On area A we performed an intervention, and on area B we did not. Then we asked customers whether they liked a particular part of our service, and we did that before and after our intervention. The customers were different in the two periods, so... |
Many machine learning problems have combinatorial complexity.
For example, in part-of-speech (POS) tagging in NLP, the goal is to predict one of possible $T$ tags for every word in a sentence of length $n$, i.e. we want to compute
\begin{equation}
\arg \max_{t_1,...,t_n} p(t_1, ..., t_n, w_1, ..., w_n)
\end{equation}
... |
I'm trying to understand the logic behind this binary encoder.
It automatically takes categorical variables and dummy codes them (similar to one-hot-encoding on sklearn), but reduces the number of output columns equal to the log2 of the length of unique values.
Basically, when i used this library, i noticed that my d... |
I understand the concept of epoch as
epoch = one forward pass and one backward pass of all the training examples, in the neural network terminology. So i assume it must be an integer, however why in some instances as the code below having a fractional epoch #?
dlmodel <- h2o.deeplearning(
x=predictors,
y="bin_respo... |
For my homework, I have been asked to solve the following question:
Suppose Wal-Mart had to pave over a valuable wetland to make room for a new Super-Store and associated parking lot. In obtaining the permit the city planners insisted that Wal-Mart create twice as much wetland in two other locations. One criteria for a... |
My scale's data is normally distributed, except for one dimension of the scale... The overall data has a normal distribution along with several dimensions in the scale.
First, suppose that all data are normally distributed, can I use non-parametric test? Is there a rule which requires the use of parametric tests when d... |
I've got a study and I'm trying to use ANOVA to determine how the variables are related to each other. Here's what the format of the data is:
SEX | IQ | CC_SA (cm^2) | TOT_VOL (cm^3) |
M 102 7.99 1173
F 100 8.76 1079
. . . .
. . . ... |
I have two different groups (A) and (B) and I would like to compare the marginal variation of the frequency for each time of both groups but, each one of them has a different frequency for a given variable (x) and time (t) according to Table1:
Table1
The problem is: assuming the greater frequency the bigger is varianc... |
I've been surveying the different methods of approaching linear multivariate problems (ex PCA, PLS, factor analysis etc.) and want generate a model for Y's that depend non-linearly on $X$'s via linearizations of the $X$'s. But I have not found much with regards to the process of linearizing variables such that I can us... |
Which Markov chain central limit theorem is the one most commonly used to justify standard error estimations in the Metropolis-Hastings algorithm? Is there one?
|
I'm having trouble understanding what the parameter estimates and their standard errors tell us when evaluating a model. For example, here are the estimates for an Arima(2,1,0) model that I cooked up in R:
Coefficients:
ar1 ar2
1.0251 -0.1781
s.e. 0.2204 0.2193
I've heard things like "the ar1 i... |
I have a set of models for binary segmentation task (M=10), and a set of images (N=1000). I also can collect the prediction map for all these N=1000 images, resulting in 10,000 grayscale maps. Now, I want to quantitatively check whether these models have strong diversity in their predictions or not.
Diversity holds w... |
I'm having a go at coding a logistic regression model building algorithm and I'd appreciate some advice. I've read in several places (including here) that minimizing both AIC and BIC could be an effective strategy for model evaluation.
My algorithm employs the following (undoubtedly simplistic) approach:
Fit a model ... |
In statistics class, we are often taught that the advantage of ANOVA is that it can control for the type 1 error rate (the type 1 error rate will be inflated if we run many groupwise t-tests). The typical procedure for testing whether the means of several groups are different is:
ANOVA
If ANOVA produces significant r... |
I have some unlabeled 1D (i.e. time-domain) signals (real neuron measurements) that I would like to classify in 3 classes. I would like to use a ConvNet to do this. However, as far as I know, ConvNets are trained in a supervised fashion.
I've done some research and I've found this paper that I'm not completely sure I ... |
I'm stuck on how to analyse one of the questions for my survey. My question asked whether the therapist's surveyed felt their style of intervention changed depending on the setting. I received 31 responses, with 19 responding Yes, and 12 responding No.
I'm trying to work out whether this is a significant different, bu... |
Mean field algorithm has been proposed to be used in combination with convolutional networks and recursive neural networks. What is the purpose of doing this? Is the goal to estimate a probability distribution which can be used for the loss function (to perform maximum likelihood)?
|
i have a categorical variable lets say variable "sex" : levels (Male,Female)
and data is divided into two groups "treated" and "not treated". which test used to find correlation for a categorical variable("sex") between two groups?
i am thinking "chi square test for independence" can be used in this case to find p.va... |
The background of my question is that for e.g. the White heteroskedasticity test or the Breusch-Godfrey (LM) autocorrelation test, we are generally only interested in the R-squared of the "auxiliary" regression. However, the only way of computing said R-squared that I am aware of involves deriving the coefficients etc.... |
Assume I have a sample of real data and from which I create a set of new samples with replacement. I next compute the means for each 'synthetic' sample I generated.
My first question is as follows. I presume the central limit theorem applies and the distribution of these means will be normal, or at least approach norma... |
I am trying to develop a time series forecasting model in Java.
Is there any reliable guide explaining the ETS model algorithm in detail?
I am not able to find any existing reliable java API for ETS model.
P.S. : my knowledge in statistics is very limited. Pardon me if this is a very naive question.
|
I'm adding data augmentation on a FCN model, right now I'm doing simple flips, random zoom and random rotations.
At the moment for each sample I do all the four transforms (vertical flip, horizontal flip, zoom, rotation) separately for each epoch.
So the dataset grows five times bigger, each epoch is about five times s... |
So I'm a budding quant, but came from an Economics background so what I learned first was R and, of course, have fallen in love ever since. However, I recently started doing research on why Python seems to be more valued in the finance industry, and based on many stack exchange questions (which I provide for context: h... |
In the data which I am working on, the dependent variable is binary and it doesn't vary across time for a particular group. For example, I have data of 12 years for 16 countries in which the outcome is 1 for 5 countries and 0 for the remaining 11 countries. There is no time variation in the outcome variable. How should... |
This is probably a fairly simple question but it occurred to me, when trying to go through some data, that I wasn't sure how.
Say you have some numeric variable vs. arc degrees-- like the price of real estate when looking in any direction. You want to see if there is a quadratic correlation between these two. In other ... |
Background: I have the lmer model
lmer(log(log(Amplification)) ~ poly(Voltage, 3) +
(poly(Voltage, 3) | Serial_number), data = APD)
for a data frame APD. This contains lot of devices, separated by Serial_number. Each device's amplification was measured in the voltage range from 0 V to about 400 V.
In tot... |
The scenario is as follows:
I want to test a new teaching method on non-native English speaking children to see if it is more effective that the current method. I therefore plan to have the following factors in my design:
A control group (existing teaching method); and
An experimental group
Futher, I want to split thes... |
I have explored the impact of noise on one of my datasets by simulating noise. I have created the noise by adding (or subtracting) a random value of the measurement based on the validation data of the instrument I used.
The data is analysed using a simple regression model,
$y = \beta_0 + \beta_1 \times x$
and while ex... |
Consider a probability distribution $D$ with a parameter $\theta$ and an i.i.d. sample $S$ from that distribution. I am interested in an estimator $\hat\theta(S)$ of $\theta$ that satisfies the following condition:
$$
\hat\theta(S) = \arg \min_{\hat\theta(S) \in \Theta(S)} \mathbb{E}\left( L(\hat\theta-\theta) \right)
... |
I'm currently working on a project about Reinforcement Learning in game playing, and I need to first do experiments of DQN. I tried to implement a version for Atari Boxing game by changing the code in http://pytorch.org/tutorials/intermediate/reinforcement_q_learning.html.
I did an experiment with hyper-parameters of t... |
I am learning the EM algorithm. As I understand the steps are as follows:
1- initialise the parameters.
2- Then start with E-step
3- maximize the log-likelihood function (from E step) and find the new estimate of the parameters.
4-iterate till the difference between the last and new log likelihood is small.
My quest... |
I want to compute the first and second order moment of the maximum of a random vector from multivariate normal distribution, i.e., compute
$
E[\,\,Y\,],\,\,E[\,Y^2\,],
$
where
$
Y=\max (X),\,\,\\
X=(x_1,x_2,...,x_k) \sim \mathcal{N}(\mu,\Sigma)\\
$
$\mu,\Sigma$ are mean vector (k$\times$1) and covariance matrix (k$\t... |
If I have a data set containing multiple users' data with features $X$ and some class (let's assume binary for simplicity) that I want to classify, $Y$. A user can generate multiple "events" and $X$ as well as $Y$ might not be the same for each event. Each "event" is a discrete moment in time but surely each user's eve... |
I'm trying to think about WAIC under a multivariate model scenario. Suppose I have one model composed of two relationships:
y1 ~ x
y2 ~ y1
This is one model. Now, I have a second model
y1 ~ x
y2 ~ y1 + x
I would like to construct a WAIC to compare the first case to the second. However, given that y1 and y2 are likely... |
I was comparing the performance of various models on a binary classification task I have been working on. When I plot the ROC curve for Gradient Boosting, this is what I get:
However, when I apply a random forest model to the same data, I get an incomplete ROC curve, or certainly a very fishy one.
The Random Forest m... |
I have an exercise where I have to use a probabilistic model to fit the data. Here is the original problem (Problem 1):
(Problem 2 with solution) At the lecture we learnt to derive Bayesian linear regression solution. We have dataset $\textbf{x} = (x^{(1)},...,x^{(N)}) $ and $\textbf{y} = (y^{(1)},...,y^{(N)}) $, para... |
I'd like to get statistical support for hypotheses concerning the effects of independent variables $D,CF,CT,P,H,LA,LP$ on $C$. For regressor sets $\{D,CF,CT,P,LA,LP\}$ and $\{D,CF,CT,H,LA,LP\}$ all the independent variables are statistically significant:
Call:
clogit(C ~ D + CF + CT + P + LA + LP + strata(Case), clog_... |
Using scipy, I noticed that I am allowed to use only Euclidean distance for Ward's method.
Is it because Ward's uses Error Sum of Squared?
What if I use Ward's method with cosine similarity?
Cosine similarity seems still work so, but maybe not perfectly.
What might be the difference?
|
I want to use linear regression on a very large dataset with costs corresponding to about 15 million entries. For each of the 15 million entries I have several independent categorical variables.
I want to estimate the costs of each categorical factor variable. Furthermore, I have the constraint that I want to estimate ... |
I've opened a spreadsheet that has a 5-year trend formula that I don't understand.
The sample data for $2012$ to $2016$ are: $190, 175, 160, 165, 200$.
The formula in the spreadsheet is:
$trend = 0.1*(-2*190+-1*175+0*160+1*165+2*200)/average(190, 175, 160, 165, 200) = 0.6\%$.
My questions are:
Is this formula standard... |
I am currently trying to calculate the partition function (or normaliser) $$Z_i = \int \Phi(y_i\cdot w^T x_i) \prod_{j=1}^d \mathcal{N}(w_j|m_j^{\setminus i},v_j^{\setminus i})dw$$ where $\Phi(.)$ is the probit function and $\mathcal{N}(.)$ a Gaussian distribution, so: $$Z_i = \int \left(\int^{y_i\cdot w^T x}_{-\infty}... |
I summarize this based on http://www.cs.ubc.ca/~murphyk/Papers/bayesGauss.pdf
However, there are some questions about this.
When the mean and variance are both unknown, can I set the prior of of variance a Chi-square distribution? If so, is the posterior normal chi-square distribution?
I know that wishart distributio... |
I am working on a non-linear statistical mixed effects model using package nlme in the R software.. The response variable is a cumulative flux of carbon dioxide, representing soil carbon mineralisation, during soils incubation at controlled temperature and humidity.
The soils come from 9 different plots grouped in 3 b... |
Suppose, I take the MINST dataset which contains images for 0-9 digits and I have a magical feature vector that allows to classify them almost perfectly.
Now if I relabel the dataset to have binary classes; say odd and even numbers and try to build a classifier it will also work. Because the original classes are well ... |
I recently read a paper about changes in joint movement before and after therapy. They report a difference in joint movement from mean =50° to mean 0° after treatment, but a p-value of 0.05. Sample size n= 29. Maximum possible movement in that joint is 110 degrees (-20° up to 90°).
In my opinion beside the difference ... |
Suppose I'm trying to perform supervised classification on a list of birds into either nocturnal or diurnal. The only features I have regarding each bird are
its wingspan (float),
its colour (multi-class: white, brown, red, yellow, blue, green, black),
its diet (binary: carnivore or not),
its habitat (multi-class: oc... |
I have some trouble with a specific time series. The time series itself is pretty short: Only 73 observations that look like this:
First problem: Detrend or not?
First I need to find out if the time series has a unit root or not. Using the augmented Dickey-Fuller Test the null hypothesis cannot be rejected, therefore ... |
I am studying EM algorithm. I would like to use it to estimate model parameters. I just wonder what is the returned log likelihood function for my model. Is it the complete log likelihood function or the incomplete log likelihood function? That is, I would like to show the value of log likelihood of my model. Also, I w... |
I'm just starting to learn about linear regression models and time series analysis and came upon the following doubt.
Suppose we have a variable $Y$ that we're trying to model using $p$ explanatory variables $X_i$, maybe using a simple linear model such as:
$$Y = a_0 + a_1X_1 +...+a_pX_p$$
My question is the following:... |
I have a response variable problem, there is a response variable "Y", but what I want to do is make
$$ \#(y_i>\hat{y_i})/n \rightarrow 0.5$$ (If I have n entities)
and simultaneously, $$ \hat{y_i} \rightarrow y_i$$
So, there are two objectives that I want to achieve.
The first method comes to mind is using linear r... |
I am a newbie! I used a survey platform to collect responses on three different measures (15 childhood adversity yes/no questions, 10 resiliency 5pt Likert questions, and 20 5 point Likert stress questions).
I also collected age bands, years of service, and grade level taught (elementary or secondary).
I want to anal... |
I need to compare total concentrations of a chemical across different tissues of a plant species. I sampled multiple tissues from each individual, and sampled at multiple sites. I do not know how to handle the individual and site covariates. There is good reason to expect a site effect on chemical concentrations. I nee... |
Let us say that we have some collection of players $P_0..P_{N-1}$ in a zero-sum win/loss game, and the expected win rate of $P_i$ against $P_j$ is given by $w_{ij}$. Define the skill $S_i$ of a player $P_i$ to be the average win rate against a uniformly chosen opponent, in other words $S_i = \frac{1}{N-1}\sum_{0 \le j ... |
Is there a good test for "cyclicality" in time series data, hopefully that is pre-built into a Python stats package or easy to write? I'm not looking for stationarity alone, because that would also test positive for random dispersion around a mean. I'm also not looking for autocorrelation alone, as I'm looking for a ... |
I have a collection of bugs which is unfeasible to count because they are too numerous, tiny, and fragile. I would like to estimate how many bugs are in the collection. So, I thought to do a simple plot based on weights of samples. I would weigh x bugs, several times, and then plot sample size against sample weight. Th... |
I'm working on the problem of automatically labeling groupings in music. In this domain, there's label at each time step indicating whether a group starts at this time step. However, labels are subjective, and not everyone agrees about the groupings.
I'm currently designing a study to collect these labels, and I'm tryi... |
I have question on EM algorithm derivation,
in the typical EM algorithm from Andrew ng's slides http://cs229.stanford.edu/notes/cs229-notes8.pdf. assuming x is observable, z is latent variable
in E step: $$Q(z) = p(z|x;\theta)$$
in M step: we do $$\arg\max_\theta \sum_z Q(z) * \frac{\log p(x,z)}{Q(z)}$$
my question is ... |
I have a bunch of objects (roughly rectangular) , for some of which I know what their dimesions - x, y, and z, are. From some business logic, I know that the bigger of x and y is between 0 and 15, and the smaller of x and y is between 0 and 3. Additionally, x and y are interchange-able - so the objects can be freely ro... |
I have built a random forest using a set of features (~100), and I want to compare the feature importance for two subsets of features. In scikit-learn, the feature importance sums to 1 for all features, in comparison to R which provides the unbounded MeanDecreaseGini, see related thread Relative importance of a set of ... |
I am not really sure what catagory this goes under but I have a data set and I want to test the association between test results (response) and 3 catagorical variables (SEX) and (INFARCTS) and (LACUNE) these 3 are all binary
so essentially I want to produce a linear model of test results for Males and females that hav... |
I'm having trouble doing a forecast based on previous data. I have data that represents eight years worth of monthly data $(n=96)$, for number of sales. I want to forecast the next 12 months based on this data using an optimal linear forecast, and I want to provide the variance of this forecast.
Here is the data
-1.96
... |
I'm working on a Kaggle problem (the problem closed some time ago, but doing it for self-study/practice) where the output is clearly affected by both the year and the month.
The original datetime data provides year/month/day/hour information and I felt that year and month were probably the only necessary data. So I've... |
My problem is to estimate the distribution some observed data. I am exploring what best distribution to use. The data is fat tailed most likely following a power law in the tails (the burr distribution has the maximal likelihood among a set of usual distribution)
I would like to produce an invertible (on $\mathbb{R}^+$... |
I'm thinking if there's a way of interpreting mean square error loss frequently applied in statistics and machine learning under the information framework?
Suppose we have two random variables (or vectors), $X$ and $Y$, and let's denote their observations by $\tilde{X}_i$ and $\tilde{Y}_i$, $i=1,\ldots,n$. Our job is t... |
We know that
\begin{align}
\log p(x) &=\mathbb{E}_{z\sim q(z|x)}\left[\log p(x)\right] \\
&=\mathbb{E}_{z\sim q(z|x)}\left[\log\left(p(x)\frac{p(z|x)q(z|x)}{p(z|x)q(z|x)}\right)\right] \\
&=\mathbb{E}_{z\sim q(z|x)}\left[\log\frac{p(x,z)}{q(z|x)}+\log\frac{q(z|x)}{p(z|x)}\right] \\
&=\mathbb{E}_{z\sim q(z|x)}\le... |
Let's assume the general linear model $\mathbf{y} = \mathbf{X}\boldsymbol\beta + \boldsymbol\epsilon$, where $\mathbf{y} \in \mathbb{R}^N$, $\mathbf{X}$ is a $N \times (p+1)$ matrix (where $p+1 < N$) with all entries in $\mathbb{R}$, $\boldsymbol\beta \in \mathbb{R}^{p+1}$, and $\boldsymbol\epsilon$ is a $N$-dimensiona... |
I'm doing the research on data from the waterworks and having a huge datasets with different measurements. They are all were conducted on certain days through many years. When I'm driving the PCA only on measurements its looking good, but I also wanna know if these measurements are having time trend connections as its ... |
I am trying to find Outliers in a contextual time series data using ARIMA model.
My data contains the Hourly Average Speed and Volume of vehicle traffic for two months. So, day 1 (say Monday) would have 24 observations and so on.
There is seasonality in my data : Volume is really high at 08:00 and again high at 17:00 o... |
I would like to approximate $\mathbb{E}[e^y]$ for
$y=\sum_i^n c_i x_i$, and $x_i\sim \text{Bernoulli}(p_i)$ ($p_i$'s distinct) using $p_i$ and $\text{cov}(x_i,x_j)$. The $c_i\in \mathbb{R}$ are fixed, and the $x_i$ are not independent.
Currently, I am estimating $\mathbb{E}[e^y]$ by assuming the $x_i$ are independent.... |
When exactly do I have to adjust for seasonality?
Suppose I have a simple linear regression model with just one independent variable. The independent variable exhibits some sort of seasonal pattern, which in turn (obviously) effects the dependent variable.
Would I have to use (for example) dummy variables in this cas... |
Is there a way to test whether our data from sample is similiar to population data?
Let's say that we conducted a poll about political preferences with 2% marigin of error and 95% confidence level. Can we check reliably whether we had a proper sample?
I know about chi square tests. Let's say we have a party, which got ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.