Skip to main content

Questions tagged [var]

var is a keyword in a number of programming languages.

var
-3 votes
0 answers
31 views

Is there a way to make JavaScript vars non user editable for websites?

I have vars in my JavaScript script for a HTML website, and when I go into console on this website I can edit these vars. For example, I have a button which is collected from the HTML into the ...
zer0's user avatar
  • 11
0 votes
0 answers
28 views

How to compare variance of distance between two treatments over time?

I am interested in understanding how my variable (distance) changes over time between two treatment groups. I now want to compare measures of variance for distance between the two treatment groups, ...
twilightecologist's user avatar
0 votes
0 answers
15 views

I am try to plot a circle with a condition /// (var) with (if) statement

// Plot circles based on conditions var plot Shape = na if (array.sum(above200) >= 3 and close > sma1m) Shape := shape.circle Colour := color.new(color.green, 60) if (array.sum(below200)...
Jim Cruz's user avatar
1 vote
1 answer
39 views

How to get a formatted line from a dictionary var?

I'm pretty new to Ansible and I'm not sure how to get it right. To start with, I have implemented this dictionary var for an exemple. There is 2 values but it could be a greater number: tf_ETCD: 1: ...
brett's user avatar
  • 13
1 vote
0 answers
83 views

How to Automatically Update a View When a Variable Changes in Swift

I have a Flutter Application that regularly sends me "messages" with Data. In my ViewModel I have the code to decode the data and in my ContentView I make an @State private var viewModel = ...
registrier rp's user avatar
0 votes
0 answers
68 views

How to impose sign restriction in VAR with Stata?

I was trying to impose sign restrictions in my VAR analysis with Stata. Codes are as follows: var cpi0 gdp0 g200 ex0 int0 un0 cro0 ener0 ukr1, lags(1 2 3) **the VAR model, 9 variables included var_nr ...
MarksMan927's user avatar
0 votes
0 answers
24 views

How to calibrate and simulate a copula-garch model in R using rmgarch package

So I have been trying to calibrate and simulate cryptocurrencies for VaR and ES analysis using the rmgarch package in R. I have been using the t-copula, my reason being that cryptocurrencies' ...
ayamathss1's user avatar
0 votes
1 answer
63 views

What means -z ${var+x}? [closed]

I would like to know what means -z ${var+x} if [ -z ${VAR+x} ]; then echo "Variable VAR is unset." else echo "VAR = ${VAR}." I would like to understand in which case I ...
Marta 's user avatar
  • 29
1 vote
1 answer
23 views

caret:: varImp() for caret::bagFDA() in R: Error in .(var) : could not find function "."

I am successfully running caret::bagFDA() in R, but I cannot use the caret::varImp() function to identify the most important variables. The reproducible example is quite simple: library(tidyverse) ...
Rodrigo Nehara's user avatar
0 votes
1 answer
33 views

how using css variable with SASS rails interpreter? (conflict)

I'm using sass-rails gem and I try to use css variable like this : --h: 198 --l: 38% --c: hsl(var(--h), 100%, var(--l)) background-image: linear-gradient(to right, var(--c) 0%, #000 100%) ...
Matrix's user avatar
  • 3,461
0 votes
2 answers
33 views

How can I report a VARX model (MTS class) with modelsummary (or other LaTeX table packages) in R?

Consider an example of a VARX model estimate in R, using MTS package: library(tidyverse) library(MTS) library(modelsummary) library(vars) library(stats) set.seed(10) ts1 <- rnorm(200, mean = 10, ...
Victor Hugo Schieck Terziani's user avatar
0 votes
1 answer
24 views

BGtest for VAR model in R gives me error message

I am new here, but I checked other threads and have not found solution so far. I am trying to make a VAR model in R, it looks like this: library(vars) library(lmtest) # from loaded data I create ...
Filip Emmer's user avatar
0 votes
4 answers
48 views

Did I use this JS variable correctly in the html document?

<head> <script> var bgcolor = #ff0000 </script> </head> <body style="background-color: var(--bgcolor);"> </body> I want to make a JS function ...
fzytail's user avatar
0 votes
1 answer
39 views

use my calculator data as variables in chart

I have a calculator built in Jquery, I would like to pass these numbers to my chart js program and have the chart dynamically adjust as new results show in the calculations, how would I do this with ...
Beep's user avatar
  • 2,783
0 votes
1 answer
30 views

jMeter - How to escape quotes?

I need help to escape quotes in jMeter! I've to put into a var some words with quotes, for example "dummy", so I've tried with: vars.put("example", '"dummy"') vars.put(&...
EmanueleAmbretti's user avatar

15 30 50 per page
1
2 3 4 5
164