instruction
stringlengths
9
38.7k
I have a question that relates to this post: Can a statistic depend on a parameter? But on it, the discussion focuses much on the t-statistic given as an example by the question asker. My doubt in a broader sense is that: Let ${X_1, ..., X_n}$ be a random sample of size $n$ from a population. $T(x_1, ..., x_n)$ is a re...
How do hidden markov models (HMMs) handle spatial data? I've seen papers where they divide the spatial area up into a grid and then model the order of the markov chain from left to right, down a row, then left to right again. This seems like its not leveraging all the information. In a time series, time goes forward or...
Online anonymous Likert survey was sent containing 13 items, the survey was sent before and after an intervention. I would like to analyze the % respondents who responded agree/strongly agree to the items both pre and post-intervention. The total $n$ is small and do not match up as pre-intervention $n=14$, post-interve...
Can someone lead me to some references related to how to choose the samples number for the ensemble Kalman filter EnKF.
The regularity restrictions for the CLT aren't that strong, it seems. As a result, most sums of iid RVs converge toward a normal distribution. I know there are examples that fail. The Cauchy distribution is one. But, if I recall, the sum of Cauchy RVs is also Cauchy. It would seem at first blush that any distributio...
I am interested in looking at the amount of sharing between several samples (each represented as a vector of character strings), and to do pairwise comparisions, I have been using Jaccard indices. Is there a similar metric, but to compare more than 2 samples at a time? Thanks!
If i have a regression model with the independent variable as continuous, while my dependent variable is a dummy variable (only one independent variable) then will the linearity assumption hold completely ?
I have a pre-/post-treatment-control design (diff-in-diff) with one treatment event. The data is a firm panel data set (5 pre and 5 post firm-years, ~200 firms). The problem - my treatment and control sample show significant differences on multiple covariates (also in the pre-period). Therefore, I want to balance the t...
In this documentation there is a mention that "due to the conventions used in signal processing used in signal.lfilter vs. conventions in statistics for ARMA processes, the AR paramters should have the opposite sign of what you might expect". And the following example is given: >>> arparams = np.array([.75, -.25]) >>> ...
I am currently reading Make your Own Neural Network by Tariq Rashid. He explains that instead of choosing weights randomly at a range of -1.0 to 1.0, initial weights should be in the range $ {1 \over \sqrt{n}}$ where n= # of hidden nodes in next hidden node layer. Why?
In Goodfellow, Bengio, and Courville's book Deep Learning they state some variation of the following at several points (6.2.2.4, 10.2.3): In general, we can think of the neural network as representing a function $f(x; \theta)$. The outputs of this function are not direct predictions of the value $y$. instead, $f(x; \t...
I'm trying to visualize correlation matrices using heatmaps. However, the results can be unsightly and seem unstructured. I give an example below (blue is positive correlation, red is negative). $\hspace{4.5cm}$ How could I bring the high correlation entries closer to the diagonal? That is, how can I reduce the bandwit...
The distribution of my residuals or dependant variable where not normal (skewness to the right and Kurtosis). the lnskew0 command in STATA transformed my dependent variable (DV) for solving the problem by doing ln (-DV - (-k) ) where K is calculated by stata. Now the skewness has disapeared, but some kurtosis is still ...
For a predictive model (e.g., like a regression or mixed model), what statistical methods are best used when one wants to model data where a variable number of observations occur between some initial value (pre) and some final value (post)? To note, in the cases I encounter, it is not traditional unbalanced panel data ...
I have a four distributions: A,B,C,D. A has 55 observations, B has 30, C has 110, and D has 13. the four distributions are non normal and have unequal variance. I would like to test to see if the means between any of the four are significantly different. I as wondering what is a robust way of testing this. I came acr...
What is different about the q-value and local FDR when both are defined as posterior probabilities of the null being true? For example in Storey (2010), Under these modeling assumptions, it follows that q-value(pi) = mint≥pi Pr(Hi = 0|Pi ≤ t), which is a Bayesian analogue of the p-value – or rather a “Bayesian poster...
This is a problem from Srivastava and it's prob. simple but I miss the whole point here. Let's see: We have $\:k\in \mathbb N\:$ observations $\:(u_1,z_1),...,(u_k,z_k).\:$ The $\:LSE\:$ estimated from these values and from the regression model $\:\mathbf z=\beta\mathbf u+\epsilon\:\:\:$ is $\:\:\:\hat\beta=\sum_{1\leq...
Although this is a similar question, Factored Joint Distribution of Tree Augmented Naive Bayes Algorithm, I need additional clarification. I have training data for two different classes, so it is fairly simple to calculate the priors for each attribute $A_i$, given the class $C$. I am trying to determine the posterior ...
On Wikipedia, it states that the covariance matrix of the conditional Gaussian random variable, $f_{X_1|X_2}(x_1,x_2)$ is given by: $${\displaystyle {\overline {\boldsymbol {\Sigma }}}={\boldsymbol {\Sigma }}_{11}-{\boldsymbol {\Sigma }}_{12}{\boldsymbol {\Sigma }}_{22}^{-1}{\boldsymbol {\Sigma }}_{21}.}$$ Does the con...
If we have enough crossword puzzles with answers in our database, is that possible to build a Machine Learning model to solve crossword puzzles? I read the paper: Learning to Understand Phrases by Embedding the Dictionary But this paper is mostly about finding the word for each question. How to put the constraints, i.e...
I am trying to understand why should there be different distribution for t-statistic, in case of AR model, Dickey-Fuller test For e.g. Say, the model is $Y_t = \beta_lY_{t-1} + \varepsilon_{t}$. Why should I not use Simple linear regression model like $y_i = \beta_0 + \beta_1x_i+\epsilon_i$, where $x_i = Y_{t-1} $ an...
I am running a fairly simple Linear Mixed Model using nlme package in R. My design is a set of 12 different tree communities replicated in 3 blocks. I want to know if the number of species (SR) and a community trait (e.g. wood density, WD) are affecting my fungi/bacteria ratio (FB). So a sample of my data looks like th...
Is it possible (theoretically) to perform regression analysis with data that is generated deterministically? I know this question does not make a lot of sense, because if you know that it is generated deterministically, you probably know the underlying mechanics and therefore do not need to estimate the influencing pa...
Let $X$ be positive random variable and its distribution is symmetric about its mean value $m$. Then $$ E\left[\frac{1}{X}\right] \geq \frac{1}{m} + \frac{\sigma^2}{m^3}, $$ where $\sigma^2$ is variance of $X$. I can just prove that $$ E\left[\frac{1}{X}\right] \geq \frac{1}{m}, $$ using Jensen, but somehow can't incor...
I am writing an artificial intelligence of a game. The algorithm needs a neural network to represent some information of the game board. The board is an 8*8 grid and each position in the grid has 4 types of contents. Since the type of a position is a discrete value, I binarize the type to a vector of size 4 (according ...
Let $x \sim \mathcal{CN}(0,a)$ (a complex Gaussian random variable) and I know that the p.d.f. of $z$ is defined by: $$p(z) = \frac{1}{\sqrt{2\pi a}} e^{-\frac{|z|^2}{2a}}$$. Given that, how can I calculate $$\mathbb{E}[|z|^4] = ?$$ Could someone show how to get $\mathbb{E}[|z|^4]$ step by step with the integrals, plea...
Are there any open source implementations out there that can efficiently solve the following. I'm given a fixed set $S$ of $n$-dimensional vectors of size $N$, where $N$ is of the order of a million. Given an n-dimensional vector $v$, I want to find the top $K$ vectors $w_1,\ldots,w_k$ from $S$, such that the cosine s...
I have two main groups of mice: Control diet and high fat/high sucrose (HF/HS). Within each group, I have three genotypes. So for example: Control group: TG, KO, WT HF/HS group: TG, KO, WT I have cycle threshold data for their gene expressions (10 results for each group). My question is: if I am investigating how the ...
I created a Kalman filter that takes in time series observations and estimates the mean of that time series. This is simply modeling a random walk. However, I also want to be able to estimate the standard deviation of my observations, similar to how I'm using it to estimate the mean of a time series. I know I have to p...
I have a CFA that has estimated one factor to have zero variance. (I fixed one loading to 1 for all factors & left variance free). I don't see how this could be possible, and would appreciate some input. The overall model has 6 basic factors. The items from each of these factors also load on one of two subgeneral facto...
According to Wikipedia the autocorrelation matrix is defined as follows: $$ \mathrm{R}_x = E[x x^H] = \begin{bmatrix} R_{xx}(0) & R^*_{xx}(1) & \cdots & R_{xx}^*(N-1)\\ R_{xx}(1) & R_{xx}(0) & \cdots & R_{xx}^*(N-2)\\ \vdots & \vdots & \ddots & \vdots\\ R_{xx}(N-1) & R_{xx}(N-2) & \cdots & R_{xx}(0) \end{bmatrix} $$ Ho...
Disease Test: In this classic example of Bayes' theorem for discrete events, one would like to determine the posterior probability of the patient having the disease, given that they test positive, which turns out to be a function of prevalence, sensitivity and specificity. It is commonplace to extend Bayes' theorem to ...
I am doing VAR analysis of 5 years long data. It is hourly data, so 1~24 hours every day and this goes on for 5 years. I heard it is good to choose 4 lag length for quarterly data and 12 for monthly data. But I do not know what to choose for 'daily data'. Can you guys help me out on this? Thank you.
I have access to two surveys of the population in a specific country - one where the country is divided into 10 regions that are used as sampling strata, and another one where the country is divided into 26 regional strata. Each of these 10 and 26 regional strata are again divided into an urban and a rural stratum. Fro...
I was trying to go over this paper by Dudoit, Shaffer and Boldric when I came across this statement on page 78 (under section 2.4: Control of family-wise error rate): $P(P_j\leq x \vert H_j)\leq x,$ for any $x\in[0,1] $ where $P_j$ are the p-values and $H_j$ are true null hypotheses for $j=1,...,m_0$. I'm still new in...
SARSA and Q Learning are both reinforcement learning algorithms that work in a similar way. The most striking difference is that SARSA is on policy while Q Learning is off policy. The update rules are as follows: Q Learning: $$Q(s_t,a_t)←Q(s_t,a_t)+α[r_{t+1}+γ\max_{a'}Q(s_{t+1},a')−Q(s_t,a_t)]$$ SARSA: $$Q(s_t,a_t)←Q(s...
Possible use of machine learning for blob comparison I currently work on a project in which I want to check images of blobs and tell if blob is OK, or NOK. Dataset: ~200 8bit grayscale images with same size, unlabelled Each picture contains one black blob shape on white background. Features that I currently have: co...
Suppose two random variables $X$ and $Y$ are given. $\mathbb{E}(XY)$ will be the uncentered covariance of them. But this expectation is with respect to the joint distribution $P(X,Y)$. My question is what is the expectation if we take the expectation w.r.t say $Y$, i.e. something like $$ \mathbb{E}_Y(XY)= \int XY dP(Y)...
I am working on an implementation of the EXP4 algorithm in the context of a pricing decision (e.g. given a context, the user should be given a price from a few pre-determined options). The EXP4 uses "experts" as a mean to handle various aspects of the context. however, all the papers I've read where silent about where ...
I was watching a tutorial on topic modeling and no-where they talk if the number in the bag of words model is significant. i.e. they only care whether word "a" belongs in the document or not, how many times the word "a" appears in the document doesn't matter. So, how will we apply topic modeling on documents represente...
My question is as follows. Lake A contains 52% Pikes and 48% other fishes. Lake B contains 47% Pikes and 53% other fishes. You catch 100 fishes from each lake. What is the probability that you will catch more Pikes in lake B than in lake A. I don't really know how to solve this question and would appreciate some guidan...
How can bootstrapping with replacement improve your understanding of the variance of a population over that of the sample itself? If you subsample from your sample with the same values allowed to be selected more than once, it seems even less representative of the variance of a population than the original sample, give...
I found here that The cdf for the max is the cdf for the normal raised to the power of the sample size. [say, $n$] Since the cdf for the normal is the error function, $$F_X(x)=\frac{1}{\sigma\sqrt{ 2\pi}} \int_{-\infty}^x \exp{\left(\frac{-(t -\mu)^2}{2\sigma^2} \right)}\mathrm dt=\frac{1}{2}\Bigg[1+ \mathrm{erf} ...
Consider a population with the pdf $N(\theta,1)$ where $\theta$ is unknown and hypothesis $H_0:\theta=5.5$ and $H_1:\theta=8$.Suppose that $\bar{X}=\frac{1}{9}\sum_{i=1}^9 X_i.$Reject $H_0$ iff $\bar{X} >7.5$.Power function is given by $Q(\theta)=P_{\theta }(\cal R).$ $\beta=P{\text{(type-II error)}}=P({\text{Accepting...
I'm analysing a series of feature analyses for live music, where identified segments or key changes are associated with a given timestamp, i.e: ((C Minor, 0.00), (D Minor, 5.00), (C Minor 50.00)) ((C Minor, 2.00), (D Minor, 4.00), (C Minor 50.00)) ((C Minor, 6.00), (D Minor, 14.00), (D Minor 80.00)) etc....
Here is a linear regression m1 = lm(data=mtcars, mpg~wt) anova(m1) Analysis of Variance Table Response: mpg Df Sum Sq Mean Sq F value Pr(>F) wt 1 847.73 847.73 91.375 1.294e-10 *** Residuals 30 278.32 9.28 --- Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ...
I am attempting to demonstrate how DBSCAN can cluster data of arbitrary 2D shapes. I've created two toy datasets in Scikit-Learn using the make_blobs and make_classification functions -- one dataset being easily separable, spherical data while the other has clusters of more nebulous shapes: import matplotlib.pyplot as ...
I am rolling a fair die. What is the probability distribution of number of rolls until I first accumulate either: 1) Five ones 2) 20 occurrences of faces that are not one? I'm happy to share the actual application if that would help.
From elementary probability course, the probability distributions such as Gaussian, Poisson or exponential all have a good motivation. After staring at the formula of the exponential family distributions for a long time, I still do not get any intuition. $$f_{X}(x\mid {\boldsymbol {\theta }})=h(x)\exp {\Big (}{\boldsym...
Show that E{$e^{\delta T(Y)}|\eta$} = $e^{A(\eta + \delta) - A(\eta)}$. Then, prove that E{$T(Y)|\eta$} = $\frac{\partial A(\eta)}{\partial \eta}$. First, we can begin by recognizing the fact that a PDF/PMF must integrate (or sum) to one, and now we just have to transform $e^{\delta T(Y)}$ into some recognizable PDF/...
It can be shown that the Hamming distance defines a positive semi-definite kernel (see e.g., here). However, is the kernel $$ K(\mathbf{x}, \mathbf{y}) = 1 - \frac{1}{n} \sum_{i=1}^n \mathbb{I}\{x_i = y_i\}$$ strictly positive-definite? That is, for any $n\in\mathbb{N}$, $c_1,\dots, c_n\in\mathbb{R}$ and $\mathbf{x}_1,...
I am relatively new to machine learning. I am part of an in-class competition on kaggle where the task is to predict churn. I trained my model (random forests 50-200 trees) on the test data and got up to 80% accuracy using a 70-30 split. However, when I predict on the unseen data, I get zero accuracy on kaggle. For som...
Is it okay to concatenate a neural network training process repetitively using different sets of hyperparameters? I am asking because I made a mistake when trying to optimize the hyperparameters of a vanilla NN. Instead of create a new network instance every iteration for each set of hyperparameters, I put the initiati...
I have a network whose input size is 100 and output size 2. Only these layers. I applied a dropout with keep_prob of 0.8 and I tried to understand the outcome. As expected, the dropout mask has around 17-23 zeros every time time I run it, however, almost all the weights are updated. According to the paper: Forward and...
The question that I wish to ask is what is an appropriate likelihood model to use for races. For example, suppose that we have 4 competitors in a 100m race. We observe the competitors weight and age as input variables ($X$). The rank of the racer is observed as the output variable, $y$. The first method that I chose t...
I tried to find the second order Markov chain of the following sequence Dat= A A B A B A A A B B A A B I tried it on "Markov chain" package in R. D=c("A", "A", "B", "A", "B", "A", "A", "A", "B", "B", "A", "A", "B") fitHigherOrder(D,2) I got this result $Q[[2]] A B A 0.3333333 0.75 B 0.6666667 0.25 But...
In a rigged game of chance where statistically I am expected to win, is there a difference in terms of expected profits, risk, etc - between betting the same amount of money each time (for example using Kelly criterion) vs using variable wager strategies like Martingale or anti-Martingale strategy? For example could I ...
I want to model a particular card game as a reinforcement learning problem. For simplicity let's say it is a single standard 52 card deck, and let's say it is just 2 players. The exact details are not so important for the action space; I'm more interested in how to model the state space. terminal rewards: +1 if I win, ...
I have a general doubt regarding the variance and covariance matrix. I know that the general structure of variance and covariance matrix is such that it's diagonal elements represents the variance and non diagonal elements represents the covariance. Also, for a $2×2$ matrix, the non diagonal elements will represent the...
Let $X \sim \text{Dist}(\theta_X)$ and $Y \sim \text{Dist}(\theta_Y)$ be independent continuous random variables generated from the same unspecified distributional form but with allowance for different parameter values. I am interested in finding a parametric distribution form for which the following sampling probabil...
I am using a pre-trained image classification network. How is the object detection performace by passing the parts of the image individually to detect various objects. is there any other way to convert an image classification network into object detection?
I have to make a live speech recognition program that can spot specific words in a spoken sentence. For now I have to recognize the words "yes" and "no". I already trained Google's model and it worked, but only if the words were spoken apart. (The dataset they provide contains wav files of 1 second each, recorded at 16...
I just stumbled over the expression NxN- fold cross validation and i am not sure what it's exact meaning. N-fold cross validation, as i understand it, means we partition our data in N random equal sized subsamples. A single subsample is retained as validation for testing and the remaining N-1 subsamples are used for tr...
I am building my first R project about forecasting rental car sales. I have 2 data sets which have different calculations and consist of daily and monthly data for 10 years. Monthly dataframe Daily dataframe I want to forecast daily, monthly and quarter-year. I have used time series and auto.arima modeling for observ...
I have a challenging use case at work. We have logs of which user login at which times. So, consider 7 days a week, 24 hours. We have to map these 7x24 slots to different users. I am trying to figure out how to apply Machine learning here. Users are in thousands, so not sure if classification will work. If t is a varia...
I am in need of some help in understanding the 95% confidence interval for my survival estimates (Kaplan-Meier). For example, at 1-year my estimated survival was 0.929 with a standard error of 0.069. I calculated the CI by taking my survival estimate of 0.929 +- 1.96 x 0.069. I cant really comprehend how my upper CI li...
Is random splitting of a time series, e.g., into 80/10/10, suitable for neural networks (NARX) training when temporal aspects are important? To the best of my knowledge ANNs can generalize that means that after learning data from a sample, ANNs can correctly infer the unseen part of a population. But, on the other ha...
I am analyzing plant densities (n° of plants/0,36m²) across 5 different treatments (repeated on two blocks) in time (year and season). Since my outcome is plant density and repeated measures were done, I wish to analyze the data with a mixed model with a Poisson distribution. However, on each block:plot:year:season, mo...
Background The standard error on the mean of a random sample $X$ of size $n$ is given by: $$ s = \frac{\sigma}{\sqrt{n}} $$ where $\sigma$ is the standard deviation of the population. But is it appropriate to use the standard deviation of $X$ when the data is so imbalanced/skewed? Example: being struck by lightning Bei...
I am working on my thesis but I am stuck on the last task to solve. STEP 1) I have a dataset composed of three variables: fidelity_card_ID: fidelity card associated to the purchases shopping_date: day when the purchases were made cluster: express the pattern of this shopping visit Examples of clusters description are...
Are there any approaches to checking diagnostics of statistical models, in particular linear regression, by machine learning methods? Many of the standard frequentist tests for numerical estimation of residual diagnostics are insufficient in my opinion. Therefore, I am looking for advanced methods to assess assumptions...
How should I normalize time series data that shows high volatility in order to be used in an ANN? Let's take the price of Bitcoin for example. I have the following doubts: As stated in this paper it is not sufficient to normalize dataset. This makes sense since the Bitcoin price range is from 0.06USD to 19,343USD. I...
I'm interested in the proportion of time that a sensor is in a particular state. The sensor tells me the amount of time that it's in each state, which I will denote by $X = \{ X_1, X_2, X_3\}$. I also set the interval time over which the sensor can be in any one of those states, which is a known duration that I will ...
I have a question related to 'whether HLM is necessary or not.' My data has regions and firms with the time range of 2005 and 2010. I set each firm (with multiple observations within it) as the first level and regions as the second level. However, ICC turned out to be very low at the region level (0.008) while the LR...
My problem in training a Deep Q-Network is that the mean squared error (MSE) loss becomes zero. I am using the Adam optimiser on a CNN. Can you give me a hint in which direction to look? How is that even possible?
I have a population $N$, that can be divided into several samples. 1 sample, $S$, was taken out from $N$, let's say a piece of paper from a page of a manuscript; this piece of paper is divided into three equal parts and send it to three laboratories, which divided the paper received into smaller pieces. The three labor...
I have a quick question (hopefully). Let's say that I have 2 predictors, HL (categorical) and X (continuous) and I regress Y(continuous) on these to predictors and the interaction-term X:HL. HL <- as.factor(rep(c("high","low"),each=10)) set.seed(19) X <- runif(20,1,5) set.seed(2) Y <- runif(20,1,5) df <- data.frame(HL,...
I'm trying to calculate multivariate normal integrals in R, with relatively high dimensions. I've tried the openMX and cubature packages. The problem is that the integrals become too small and I get zeroes as a solution, because of the numerical characteristics of the machine. One way to fix that would be to have the i...
I've been trying a Garch(1,1) in Python using the arch package and compare the results obtained with fmincon in Matlab, so I found this article: http://www.quantatrisk.com/2014/10/23/garch11-model-in-python/ telling there is a difference between both estimations: $$ \left(\omega ,\alpha,\beta \right)_{MATLAB}=\left(...
I've just been given an old set of lecture notes to look at. One of them contains the following question: if we are undertaking a paired $t$-test with a mean of differences $d=1$ and standard deviation $s=2$, what is the minimum number of subjects that would be required to "ensure that the difference observed is sign...
Regular Transition Matrix A transition matrix $P$ is said to be regular if some power of $P$ is positive. That is, $P^n >0$,for some $n≥1$. My question is: Do all regular matrices have limiting distributions? And do all matrices with limiting distributions imply that they are regular?
The ordinary equation of linear regression has the form: y=B+b1x1+b2x2+e Where B is intercept b1,b2-beta-coef x1,x2-real values of obs I want write the equation for a Cox regression. I get the follow result table Beta t-value Wald p AGE 0,105520 3,373554 11,38087 0,000743 ANTIGEN ...
I'm wanting to use a custom bsts model within the CausalImpact package, and I understand that I need to use a control group in my data; however, I don't really understand where that control group fits within the bsts model. I know my dependent variable is from the test group and that my independent variables are from t...
I have two samples - one is predicted values and one is actual values. Paired samples t-test suggested that there are no differences between these two samples. Because I remember from stats courses that the absence of a difference doesn't mean that the samples are similar, I wanted to ask if there is a statistical si...
Suppose we have a time series that shows signs of dependence between observation. For example returns. I understand that every time we want to draw a conclusion studying the sample we should have the iid property. What are the consequences of dependence in the response variable observations if we use a static model li...
Very simple, as the question header says: what is the difference between SVI and VI? I cannot seem to find a clear-cut definition online.
I have recently completed a course on Machine Learning and am now attempting to apply my knowledge by creating a neural network that attempts to, given a series of $n$ candlesticks (stock market data), predict what the next candlestick might be. I have over 1 million candlesticks available as a training set. Each candl...
I am doing a pca analysis to construct a financial stress index from different variables which I expect they will move together in a period of "financial stress". As I have read in different papers I will take the coefficients of the first PCA (if enough explanatory power) divide them by the first eigenvalue and take t...
I know the binomial distribution is used to calculate the probability of N heads in M coin tosses. But what if I want to calculate the number of ocurrences of particular pair of events, such as 'HH', in a random string?
I'm working on a dataset which is giving me trouble. I have 200 samples (Sample 1, Sample 2...). An example dataset (limited to 15 samples) is here. My dataset is structured with the following columns (I'll try to simplify): Sample source. Type of data: dichotomic. It can be SEDIMENT or WATER. Sequencing technique. 4...
I am training an NLP classifier that maps input sentences to 1 of 50 categories. The model is a CNN language model, in which each input example is a 2d tensor of sentence length by word embedding vector size. Every example in the test set is not present in training. I achieve the best test score on the data when reg...
I'm working on a function maximisation problem, witch is related to a non-linear regression problem. The problem is as follows: The target variable is $y$ and is continuous. The data set consists of some features $x_1,\dots,x_N$, $y$ and a parameter $p$, which is a continuous and bounded. The parameter $p$ is a featur...
Let's say you have a business problem. You want to estimate the demand curve of potato chips based on the percentage of air in the bag, along with a bunch of other features. You are told at gunpoint that you must use support-vector regression, or decision-tree based regression models. You've got data with 1000 training...
I am observing a phenomena, to simplify it, we say the acceleration of objects, $Oi$, for which I measure the acceleration over the time with a frequency of 100HZ. Let's imagine I did 50 experiments, producing 50 datasets. A dataset, $Di$, contains the acceleration of the object $Oi$ over the time e.g. 2 seconds. For e...
I am analysing vegetation percentage cover data from grazed and ungrazed plots in R using a zero-inflated beta regression in package gamlss. Here are some example data. site = c("A","A","A","A","B","B","B","C","C","C","D","D","E","E","F","F","F","A","A","A","A","B","B","B","C","C","C","D","D","E","E","F","F","F") sampl...
I have large number of time-series that are independent of each other, but share some seasonality patterns. I need to detect anomalies/changes (increased volume, change in mean), that appear in the individual time-series. I also have some potential explanatory variables, but they seem to be rather weak as predictors. W...
I have been recently trying to fit a linear model to my data. The dependent variable is continuous and the independent variable is numeric and discrete. When I first test the assumptions concerning the data structure in order to run a linear regression I observe violations of the assumptions of linearity and normality....
i just started working as a quality control engineer at a poultry company, one of my first duties is to design a mechanism to ensure the quality of the end product (the Chick) and processes leading up to it (incubation...etc...etc), so naturally i suggested that a sample of the eggs going from a process to the next is ...
Suppose $W^{\mu}_t$ is a Brownian motion with drift $\mu$ and $Y_t$ represents the reflecting process of $x+W^{\mu}_t$ ($0<x<b$) which is reflected at $b$. Suppose $0<x<b$. What is the joint distribution/density for $Y_t,\max_{0\le s\le t}Y_s$? Or what is $P(Y_t\in dy,\max_{0\le s\le t}Y_t>0)$?
I have a highly imbalanced medical data set with approx 4k binary cohorts(variables) and 100 numerical variables. I want to separate patients into different clusters based on similarity. I tried using SVD(Singular Value Decomposition) for dimensionality reduction and then applying dbscan. But, it doesn't seems to work ...