instruction
stringlengths
9
38.7k
I have a database of hourly energy consumption of a country throughout the year. I wish to test if an energy efficiency measure (daylight saving)which is instated twice a year and removed twice a year has: H0: negative or no improvement //H1: improved efficiency The daily profile shows two peaks, one occurring at noon ...
I am trying my hands on Linear Regression using the iris dataset available on Kaggle. The columns in this dataset are: Id SepalLengthCm SepalWidthCm PetalLengthCm PetalWidthCm Species The species are categorized into 3 as the following plot illustrates. Now I want to predict the Species based on the input Sepal wi...
Directed acyclic graphs (DAGs) are efficient visual representations of qualitative causal assumptions in statistical models, but can they be used to present a regular instrumental variable equation (or other equations)? If so, how? If not, why?
I have data of several patients with several observation points. At each observation points we test if the patient has a condition (0) or not (1). I want to perform survival analysis on this data but I'm confused on how to represent the output correctly. Example data could be: | Patient | Day | Condition | -----------...
Let $\mathbf A$ be an arbitrary $n \times m$ matrix with $n \ge m$. I want to find $\mathbf X$ of the same size with orthonormal columns that minimizes the Frobenius norm of the difference between $\mathbf X$ and $\mathbf A$: $$\arg\min \|\mathbf A-\mathbf X\|_{\text F}^2 \quad \text{s.t.} \quad \mathbf X^\top\mathbf X...
After searching here (asking tons of questions), I have now managed to do some initial fitting of my distribution using the fitdistrplus package in R. I need some advise if I am doing this correctly or not or does the analysis make sense. I have date that records percentage of planting every week (cannot exceed 100% an...
Suppose random variables $X_1$, $X_2$,..., and $X_n$ are independent and normally distributed (with varied means and variances), what is $P(X_i\ge \max_{j\in [1,n], j\neq i} \{X_j\})$?
In speech to text, one common metric is the word error rate (WER). WER is the word-level Levenshtein distance, which is the minimum number of substitutions ($S$), deletions ($D$), and insertions ($I$) to modify the prediction to the ground truth with sequence length $N$. $$WER = \frac{I+S+D}{N}$$ Now, there are two w...
Suppose I get in an elevator every morning and am in it for exactly one minute. A continuous loop of music plays in the elevator and is 10 minutes long. If my daily arrival time is uniform in the time frame from 8:00 to 8:10, what is the expected number of days until I have heard the entire 10 minutes of the loop? Ass...
I was reading Cramér–Rao bound to multiple parameters from Wikipedia page, but I could not follow this line in the article: Let $\displaystyle {\boldsymbol {T}}(X)$ be an estimator of any vector function of parameters... I could not understand what $\displaystyle {\boldsymbol {T}}(X)$ and $\displaystyle {\boldsym...
I`ve stumbled upon the following paper by Alán Hajek https://www.jstor.org/stable/40267419, in which the author states that the Frequentist interpretation of probabilities as limiting frequencies violates countable additivity: "To see this, start with a countably infinite event space—for definiteness, consider an inf...
I'm working on developing a better understanding of word embeddings, and am struggling a bit with understanding where pre-trained word embeddings come from. For instance, let's take Stanford's Wikipedia GLove pretrained embeddings. If you open up the unzipped text files, you'll see something like this: the 0.418 0.249...
As I understand it, the only difference between them is the way the two networks are trained. Deep autoencoders are trained in the same way as a single-layer neural network, while stacked autoencoders are trained with a greedy, layer-wise approach. Hugo Larochelle confirms this in the comment of this video. I wonder if...
I'm solving a problem where I've this 'expectation': $$ \int_{0}^y x\cdot f(x) dx $$ where $f(x)$ is a PDF with support on $[0, z]$, with $z>y$. Is there a way to rewrite it without the integral and as a function of the CDF? I've tried integration by parts, but without great success: $$ \int_{0}^y x\cdot f(x) dx = y\cd...
Notation $\mathcal{X}$ is the multiset of size $N$ of all possible values in our population. These values are fixed. $\mathcal{S}$ is the set of all $\binom{N}{n}$ possible subsets of $\mathcal{X}$ of fixed size $n$. Let $S\in\mathcal{S}$ be a random variable representing a simple random sample from $\mathcal{X}$ with...
My study consists of a participant sitting at a computer and rating how much they like an image for over 150 trials, while listening to a distractor stimulus. We expect to see changes in their ratings as the distractor increases in intensity (Rating ~ Intensity), but am unsure how to code this in R as I am new to stati...
I'm trying to fit a model of the form $Y=aX+b$ based on a number of $(X,Y)$ observations with non-independent errors in $Y$. I know the variance-covariance matrix of the errors on $Y$. How can I compute best-fit parameters $(a,b)$ and their var-cov matrix? Can a least squares regression take non-independent errors int...
I was wondering if marginal densities always define the joint density function or if this is only true for statistically independent variables? PS: I can imagine this is a duplicate but I haven't found anything on the topic via search. If so, please excuse me
Lasso uses cross-validation to determine both the number of included predictors and the degree of shrinkage to avoid over-fitting. I have used the glmnet package to do this. fit=glmnet(x,y) cvob1= cv.glmnet(x,y) lambda1=cvob1$lambda.min cvob2=cv.glmnet(x,y) lambda2=cvob2$lambda.min There is a ...
I tested for equality of variance between two groups in R Levene's Test for Homogeneity of Variance (center = mean) Df F value Pr(>F) group 1 0.5353 0.4679 49 I am assuming the default confidence interval is 95%, based on a p-value of 0.47, it means that I cannot reject the null hypothesis that the varian...
My response data are proportions that I want to model with one continuous predictor and a random effect of group. Here's my winbugs code: ##priors for (i in 1:n_group){ alpha.group[i]~dnorm (mu.group.int, tau.group.int) ### random intercepts } mu.group.int ~ dnorm (0,0.001) ### mean hyperparamet...
I have data from a vertical jump testing session done with athletes. I am creating force-displacement loops - force is plotted on the y-axis, and the body centre of mass displacement is plotted on the x-axis. The resulting curve which looks like a loop (read in the clockwise direction), begins with the athletes body w...
How can I plot a region of significance of the effect of a dichotomous predictor (x2) on two levels (-1SD and +1SD) of a continuous predictor (x1), when the DV (y) is a binary variable? The model is generalized mixed linear model: M <- glmer(y ~ x1 * x2 + (x1*x2|subject) + (1|stimulus), family = binomial(lin...
We are trying to identify the pairwise differences using an equivalent to Tukey which we assume cannot be used.
Suppose you are running a casino and that you are responsible for ensuring that all the dice are fair to avoid lawsuits. In order to do this, you might take a mean of 1000 throws of each die and perform a hypothesis test [using the central limit theorem, CLT] to see whether they are likely biased. The average cost of a...
I have the following situation and am hoping that someone can point me in the right direction. I am completing an experiment under 2 conditions (1 and 2) and measuring 2 variables (A and B). I am interested in how variable B changes between the 2 conditions. However there is reason to believe that Variables A and B are...
I'm not sure if my question title is very clear, so let me clarify. I'm running the following probit regression on data that is sorted by date (ascending): probit (dependent variable: "over") (independent variables) (Dummy variables) predict over_ All the independent variables are moving averages calculated as follo...
Andrew Ng's lecture notes here has the statement "it is possible for k-means to oscillate between a few different clusterings — i.e., a few different values for c and/or μ—that have exactly the same value of J, but this almost never happens in practice.)" I thought that k-means is theoretically guaranteed to converge t...
I'm using Fader's BG/NBD model for customer LTV calculations. The log likelihood is the following: $$ \sum_{i=1}^{N} \ln L(r, \alpha, a, b|X_i=x_i, t_{x_i}, T_i) = \frac{B(a, b + x)}{B(a, b)}\frac{\Gamma(r + x)\alpha^r}{\Gamma(r)(\alpha + T)^{r+x}} + \delta_{x>0}\frac{B(a+1, b + x-1)}{B(a, b)}\frac{\Gamma(r + x)\alpha^...
In my assignment, I have a table showing chemical analyses of water in two separate years. I am trying to test if there is a significant difference in concentrations of major ions between the two years. For example, to keep it sample. I want to compare if sodium concentrations are different in year 2016, compared to y...
I have a PC1-PC2 plot generated by applying PCA to the combination of 2 sets of samples where red means one set and blue means the other set. I can see that the two sets of samples are very different since each makes a clear cluster, but is it possible that this PCA plot, having crossing clouds, tells (roughly) anythin...
For a exercise I must calculate the sample size using the following formula: $$ n=\frac{\sigma^2Z^2}{e^2} $$ where $n$ is the sample size, $\sigma$ the standard deviation, $Z$ is the critical value for the normal distribution and $e$ the error. I haven't found this model elsewhere, but for the ones I know, the error is...
The starting image size is 49x49 and therefore the encoder and decoder parts are not symmetric. Is it going to affect the ability of the network to learn? PS - By asymmetric I mean the filter sizes (kernel sizes), strides are not same for the encoder and decoder part of the network.
Say we have $f(x , \theta) = \frac{1}{2}e^{-|x-\theta|}$ Lets assume for simplicity, we only have 1 sample. We find that the log-likelihood for this distribution is: $$ l(\theta , x) = -log(2) + (\theta - x) I_{(x < \theta)}+(x-\theta)I_{(x \geq \theta)}. $$ Now in general, Call the score function: $$ S(\theta , X) =...
The R function binom.test performs an exact binomial test. In trying to understand how many trails would be necessary to reject the null given zero successes, I plotted the p-value as follows p <- 1/16 n <- seq(2,200) pval <- lapply(n, function(x) binom.test(0,x,p)$p.value) plot(n, pval) I was surprised to see that t...
Assume $Z$ is a Binomial random variable with a distribution function $$ f(z)=\binom{n}{z}p^z(1-p)^{n-z} $$ What is the distribution of the random variable $Z/n$? Does it have a name? Any close form expression of the distribution of $Z/n$ will be highly appreciated.
I'm working with Stata, after SEM I calculated factor scores for each latent variable: Tech, Sleep, Training. They form together another latent variable called Result. predict fs_Tech fs_Sleep fs_Training fs_Result, latent(Tech Sleep Training Result) After I got scores for each subject, I got lost about the interpreta...
I guess this is kind of an offbeat question. This is a situation where I understand the "how" and not the "why". Since this may not be well known, I'll provide an explanation first. The question is concerning the calculation of the style cost when doing neural style transfer between two images (to combine one image whi...
The game can be played at https://xcvd.github.io/dice-game/ The player gets 12 throws of 3 dice and chooses a grid to place these throws in (there are 6*6*6=216 possible throws). Each throw is place in the leftmost available position of the grid and there are 4 grids to choose from. After placing a throw, the playe...
I have vector-valued samples $\mathbf{x}_1, \mathbf{x}_2, \ldots, \mathbf{x}_N$ with normalized weights $w_1, \ldots, w_N$. I'm trying to compute a weighted sample covariance matrix: $$ \sum_i w_i (\mathbf{x}_i - \bar{\mathbf{x}}) (\mathbf{x}_i - \bar{\mathbf{x}})^T = \sum_i w_i \mathbf{x}_i\mathbf{x}_i^T - \bar{\mathb...
I have a system whose performance was characterized in terms of the amount of true positives (TP), true negatives (TN), false positives (FP) and false negatives (FN). There is a rate that summarizes all this quantities in one, called accuracy, and is defined like so (according to Wikipedia): $$ a=\frac{\text{TP}+\text...
This is a terminology question in the context of ConvNets. So far I've only seen the term "channel" used to refer to the third dimension of input/output volumes. While filters have the same number of dimensions, I haven't seen anybody say for example "this filter has 3 channels." Can we say that? Or do only volumes hav...
Consider the unrestricted multiple linear regression model: $$ Y_i= \beta_0 + \beta_1X_1 + \beta_2X_2 + \beta_3X_3 +... + \beta_kX_k + \epsilon_i (1) $$ If we test the hypothesis $$H_0: \beta_1 + \beta_2 = 0$$ Then the restricted model when $H_0$ is true is: $$ Y_i= \beta_0 + \beta_1X_1 - \beta_1X_2 + \beta_3X_3 +......
I am trying to predict different products' sales volume where the data includes several products sales volume day for a month as well as a madeup index (a number that determines that products likelihood of selling fast). The data looks like this: Product April 1 Sales April 1 Index ........ May 1 Sales May 1 Index ...
Consider a pairwise Markov random field, for any two neighbours $A$ and $B$, is it correct to use any function to describe the relationship between them? Is there any constraint or any condition that a function needs to be satisfied to be a valid potential function $\phi(A,B)$?
I was very intrigued by the answer here. I would like to have a more layman explanation of what negative probabilities could mean and their applications, possibly with examples. For instance, what would it mean for an event to have probability -10%, according to these extended measures of probability?
I recently read this article analyzing the top five journals in economics using bibliometrics. I was very interested, and as I'm a PhD student who wants to start publishing, I thought a good project might be to repeat this type of analysis myself but for statistics journals, as part of getting a sense of what is going ...
Just curious to know the meaning contained in the latent variables used in the machine learning applications ? Basically, I am confused if latent variables present the same essence as the model parameters ? In Parameters vs latent variables, @alberto suggested that parameters are fixed while latent variables are essent...
I am having trouble understanding the proper method to calculate specific histograms, specifically with regard to cumulative and normalized histograms. If I want to calculate a normalized cumulative histogram, is it okay to first normalize the data and then apply accumulation? If the question is clear, you can skip ahe...
A property of Poisson process says this: $N\left ( t \right )$ has independent increments: if $t_{0}<\cdot \cdot \cdot <t_{n}$ then $N\left ( t_{1} \right )-N\left ( t_{0} \right ),\cdot \cdot \cdot ,N\left ( t_{n} \right )-N\left ( t_{n-1} \right )$ are independent. I've been trying to understand this for many hours...
below is a dataset (selection) with 4 persons (person), each measured 5 times (test) in 5 different situations (situation) for a certain response (value). I want the alternative of the linear model on the first test in both nlme and lme4 but do not succeed to end up with 4 DF for my main effect, so I can't specify the...
A client is looking at applying AI/ML to a dataset of textual responses for the purpose of: a) extracting one or more concepts or meanings from each response, and b) cross-referencing with other responses containing similar concepts or meanings. Having no background in ML, I'm wondering where to point the client, in te...
I'm trying to convert my neural network implementation with ReLU to ELU. I have visualisations of the ReLU decision bounaries and they look sensible. When I convert to ELU however, the bondaries look totally wrong. The following are the only changes I'm making: alpha = 1 In forward propagation, substitute: A1 = np.ma...
Define $X:=$ "coin has probability 1 to land heads" Assume that one has the prior belief: $P(X)= 1$. However after tossing the coin once it lands tails ($E:= $ "coin landed tails"). How should a Bayesian update his beliefs in order to stay coherent? $P(X|E)$ is undefined, as $P(E) = 0 $. However, it seems to me that ...
I am currently looking for a scientific reference (journal article, book etc) that describes the challenge of evaluating the performance of a method on the data it produces itself. For example: A trained ranking algorithm A in a production system is producing ranked result lists of documents for a set of users. These...
Recently, I am reading the paper "Neighbourhood Components Analysis" (Goldberger, Jacob, et al. "Neighbourhood components analysis." Advances in neural information processing systems. 2005.). At the last paragraph on the second page of the paper: "Notice that by learning the overall scale of A as well as the relative ...
I am interested in checking how (and if at all) predictive is the position of genetic mutations in a given disease gene on the severity of the disease phenotype (so, I only have affected individuals (N=120). I have about 5 phenotypic measurements (continuous variables) and 5 events (e.g. syncope, death etc - binary var...
During the model selection phase of my (regression) work I noticed that Lars with lasso modification performs way worse than any other model if combined with recursive feature elimination, both in terms of R squared and mse. Comparison was made between lasso-lars and linear, simple lasso and ridge regressors. Is there ...
I have a time series consisting of 490 days and for each day I have the residual of a forecasting model. I wanted to check if the residuals somehow correlate and calculated the ACF at lag 1 which is acf(1)=0.42 Here is the ACF plot: Now I wanted to check the linear relationship between lag=0 (denoted as x1 in the sca...
$L_1$ regularization LASSO regression. $L_2$ regularization is is Tikhonov regularization or ridge regression. The combination of the two is elastic net regularization. To what do the $L_1$ and $L_2$ refer? What is the origin of this notation?
I understand that two uncorrelated RV X,Y are orthogonal if at least one of both is of zero mean. But can you reverse this statement if you expand the preconditions to both RV X,Y being of zero mean? The problem I solved from an exam says yes it does but I struggle to prove it. Can you help?
I am currently making my way through a textbook called "Modern Statistics: A Graphical Introduction". (I'm not currently taking a related course through university or school.) I came across a question that I had no idea how to do. I tried googling to find an answer, but the results asked for information that the questi...
Essentially I have my data, and easily calucalated the chi-squared statistic. Now I have this, I want to create a bar plot with my observed values beside the expected, for the relevant groups. I tried using barplot(x2$observed, x2$expected) but this produces a mosaic plot? Any help would be much appreciated!
I run modified non-negative matrix factorization (NMF) and tune the regularization weight from 1e5 to 1e13. The table below shows errors from calculating cost function for 25 iterations of all weights. At weight 1e4, the objective function is monotonically decreased. But when I increase the weight more and more, the...
Is this model identified? The paper is in plosone, but it seems to be that the combination of regression paths from PCS ~ MCS and MCS ~ PCS, plus the error covariance, means that this shouldn't be identified. Any pointers much appreciated. I'm estimating in lavaan, and I think it implies the following which does fit bu...
I have a systematic review to compare incidence of an illness (Y) with or without an intervention (so groups A and B). These groups are relatively homogeneous, so aside from unmeasured confounders I think it is a reasonable (enough) assumption to compare groups A and B to each other. In a meta-analysis, I would do a r...
In proofs of maximising log likelihood functions, the partial derivative of the log likelihood is taken with respect to the value we want to maximise the likelihood of estimating, and then this partial derivative result is set equal to 0 and solved for the value of interest. At this point, why is the partial derivativ...
I have a very small sample of n=19 students, divided into 2 groups with n=10 (native English speakers) and n=9 (ESL speakers). Each person in the overall sample rated their anxiety towards academic English on a scale of 1 to 5. I want to check whether ESL speakers have lower anxiety scores than native English speakers,...
Assume that you found the optimal hyperparameters of a neural network (e.g. a multi layer feed forward NN) with k-fold cross validation in a grid search. Lets assume you have varied the number of epochs and got the optimal epoch number as a result. Now you want to train the network for the optimal number of epochs on t...
I am wondering about the relation between the explained variance and the regression coefficients in logistic regression. So given a multiple linear regression $y_i = \beta_0 + \sum_{k=1}^{K} \beta_k x_{ki} + e_i$, I know that $R^2$ can be simplified to $ R^2 = \sum_{k=1}^{K} \beta^2_k + 2 \sum_{k<k'}^{} \beta_k \beta...
I'm taking Andrew Ng's Machine Learning Course. In the lesson on classification algorithms, he presents the logit function ($\frac{1}{1+e^{-x}}$) and the way it converts parameterized functions to probabilities. He marks the "decision boundary" at .5, noting that the logit function cross .5 at $x=0$. If the value of th...
The first principal component is the axis along which the data varies the most. So, what happens if I remove that while retaining all the remaining components? I am guessing that the data kind of coalesces together, but I am not sure.
I'm building a multiple mediation model in lavaan. My research question concerns to what extent a relationship between a continuous X and a binary Y is mediated by two continuous mediators M1 and M2. I have large observational datasets (N > 5000) and I include a bunch of controls (5-6 continuous or categorical variable...
I would like to calculate the probability of a certain result coming out at least 'x' times in 'n' attempts when the probability of result varies on every attempt; all attempts are independent events. I found that I can use PMF when I have the same probability for every event, e.g. probability of 3 tails in 5 coin toss...
In XGBoost, the objective function is $J(f_i)=\sum_{i=1}^{n}L(y_i,\hat{y}_i^{(t-1)}+f_t(x_i))+\Omega{(f_i)}+C$, If we take Taylor expansion of the objective function and let $$g_i=\frac{\partial{L(y_i,\hat{y}_i^{(t-1)})}}{\partial{\hat{y}_i^{(t-1)}}}$$, and $$h_i=\frac{\partial^2{L(y_i,\hat{y}_i^{(t-1)})}}{\partial{\...
I’m trying to implement deep Q-learning on a problem were the rewards the agent receives are errors from another model. The RL agents job is to minimize the long-term reward (error) instead of maximizing it as is typically the case in Q-learning. So what I wonder is, how can the conventional DQN target value equation:...
In general, can you say anything about how well are the probabilities returned by XGBoost are calibrated? Is it true that, because XGBoost directly optimizes log-loss, probabilities are generally well-calibrated?
Does it refer to the input or the output of the activation function? The literature seems to be inconsistent. A few examples: Activations = Input of the activation function Deep Learning Book, Goodfellow et al., Pages 208, 209 $a^{(k)} = b^{(k)} + W^{(k)}h^{(k-1)}$ [...] the activations $a^{(k)}$ Batch Normalizat...
I have a data frame where many quantitative variables have been recoded as dummy variables. Here is a reproductible example using R: age <- round(runif(100, 15, 40), 0) as.dummy <- function(variable, min, max){ sapply(variable, function(x) if((!is.null(min) && x> min | is.null(min)) & ((!is.null(max) && x <= ma...
Given two independent random variables (which describe two workers' durations to complete a task) $t_1, t_2$ which are normally distributed with ($\mu_1=20,\sigma_1=5$) and ($\mu_2=30,\sigma_2=10$). A task is given at random to worker 1 or 2 with equal probability of $p=0.5$. A task is completed in $t=10$. Now, I would...
I have data for the entire last year. It is simply a value of a variable for every minute, grouped by days. What I need to do is take all this data and define a dynamic range - that is, define two values for each minute of a day - lower and upper boundaries - within which the value will lie (let's say for the 95% conf...
Hi I'm new into Bayes network I'm trying to calculate P(F&G) but don't have the slightest clue how because everything i find online doesn't have a network that is this complex. I will really grateful with any help with this. I've been stuck here for so long.
This question relates to best practices in Maths and Statistics. When looking at linear regression formulas, they are generally written as $y = a + bx.$ However, in general algebra, the function for a straight line is generally written as $y = mx + c$ and, incidentally, a quadratic is written as $y = ax^2 + bx + c.$ C...
I applied 10 Cross-validation but I am a bit confused, I am not sure what is a correct way. 1- Should I apply 10 Cross-validation on all dataset, divide it into 10 folds and sum all the 10 matrices like what I am doing on my code. set.seed(100) library(caTools) library(caret) library(e1071) dataset_folds<-createFolds(...
I am working on longitudinal data and currently trying to test the potential preventive effect of a class of antihypertensive drugs on the evolution of cognitive performances over time. Patients were followed 7 times (each 6 months) and data regarding drug consumption, many covariates as well as cognition were collect...
I'd have 10 groups and hundreds of observations per group. In this toy example I only have 3 groups with 20 observations each. I am looking to see if groups are similar so I'm using kmeans to cluster them using 3 variables (x1, x2 and x3). My questions is, when you have multiple observations per group how do determine...
Just curious as to what the answer is!
Principal component analysis matrix !
I am testing the effectiveness of an intervention. I have 3 groups of participants (age 5, 10, 15), who will be randomly assigned to either intervention group or control group. I will conduct the intervention for three times and measure their 4 test scores over time to see if this intervention is effective. What statis...
I am using a pre-existing universal tested scale to measure a specific construct. The construct is measured through 5 items on a 5 points likert scale. However, I would probably need to change the range of all the items scale from 5 to 7. Would this affect in any way the validity and reliability of the construct? In fa...
Problem: Consider the attached probability distribution. Calculate $$\mathrm{Var}[ \ln(2X+3) ]$$ where $\ln(\cdot )$ is the natural logarithm. x 1 3 5 p(X=x) 0.2 0.6 0.2 I am stuck with what to do with $\ln$ in the Var equation. What I have done so far, if I am right: $$\mathbb E[X] = 3, \mathbb E[X^2]...
I am interested in determining the confidence of a forecasting model with applications to quantitative finance. I have the following multivariate data $X$: \begin{align} X(t) \sim F_{X}(t) \end{align} where $X \in \mathbb{R}^{T, d}$ for $T$ timesteps in $d$ dimensions. I am interested in a forecasting problem: \beg...
There is something that is confusing me about max-likelihood estimators. Suppose my I have some data and the likelihood under a parameter $\mu$ is $$ L(D|\mu) = e^{-(.7-\mu)^2} $$ which is recognizable as the likelihood of Gaussian upto scaling. Now my max likelihood estimator will give me $\mu=.7$. Now suppose I didn...
I am comparing scores of the same group of people over 7 days. I first did a Friedman's test to know where the differences were between the 7 days and I did a Wilcoxon signed rank test for the Post Hoc. Is this an appropriate test? I'm also thinking I should apply Bonferroni correction, but should I do this based on ho...
I am trying to wrap my head around multiple output of neural networks, especially output of CNN in image classification with localization: Lets say we have CNN with 2 cond layers (conv + pool, conv + pool) and 2 fully-connected (FC) layers. At the end, the last FC layer is connected to softmax layer. The softmax layer ...
As a part of my Master Thesis I plan to use news headlines as an input feature for a time series model that predicts the daily trend of Bitcoin returns (1= positive return, 0= negative return). Besides the headlines, I also ulilize other Macro economic variables possibly related to Bitcoin, which come as integers in a ...
I want to investigate how a vegetation type (4 categories) is explained by several environmental factors (height above sea level, disturbance magnitude, disturbance frequency, etc) - maybe some predictors could be excluded, maybe one predictor is the most relevant? Therefore I identified the vegetation type in the fie...
In maximum likelihood theory it is common to summarise parameter estimates by their maxium likelihood estimate $\theta_{\mathrm{MLE}}$ and the corresponding standard error $\sigma_{\mathrm{MLE}}$ or coefficient of variation $$CV = \frac{\sigma_{\mathrm{MLE}}}{\theta_{\mathrm{MLE}}}.$$ This works since we assume that t...
I would like to smooth modeling input time series data using the stl function in R. Based on my understanding, the function performs a local regression using data both forwards and backwards of each data point. I would not like to have data points include future information after the smoothing. Is there a way to do th...
I am working with multivariate time series of multiple patients and want to implement this paper It proposes a bidirectional LSTM with an attention mechanism. Basically, after each new "time input" for a patient, we keep track of the state vector, represented by node h in the schema below, and then link them all (in th...