how to decide the forecasting method from the ME, MAD, MSE, SDE? [closed] - forecasting

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 years ago.
Improve this question
how to decide the forecasting method from the ME, MAD, MSE, SDE?
for example, there is 4 methods that will be decide.
but, the value won't be always greater or smaller among the error of each other.
so, how can I decide the method of that forecast methods?

This is better suited to stats.stackoverflow.com.
Don't use ME (mean error) as it doesn't measure accuracy, only bias.
Use MAD (mean absolute deviation) if you want forecasts that are the medians of the future distributions conditional on past observations.
Use MSE (mean squared error) if you want forecasts that are the means of the future distributions conditional on past observations.
SDE (standard deviation of errors) is just the square root of the MSE.

Related

How to find time complexity of a simultaneous for loop? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I am trying to find the time complexity of simultaneous loops, and I am stuck up on this question.
Find the time complexity of this simultaneous loop
for(int i=1,int j=0; i*i<=n && j<=n ;j=j*2 ,i++);
Can someone explain how to approach these types of questions?
Variable "i" is increased by 1 and stops at sqrt(n). Variable "j" is increased by two multiplied every step, but its initial value is zero, so it can not break the loop. So "i" variable reached to the end when n limits to a big number.
For complexity calculations, we focus the power of n or logarithmic of n values. Scalar values are not important. We discard 1, 2 or 10 steps. So the complexity of your statement is O(sqrt(n)). Initial values do not affect the complexity of statements.

finding the biggest value [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
PLEASE NOTE: I am not looking for code, but for a way how to solve this problem.
My input is world that looks like this:
The problem is, i have to find the biggest number, without using OWN variables I could declare myself, and I'm only allowed to use turnLeft(), turnRight(), move(), isLeft/Right/FrontClear(), getNumber() and putNumber() functions to move < around the world.
Could you please give me a 'verbal solution' or a hint how to do such thing?
While you cannot use any variable, note that you do have available memory (getNumber() and putNumber()). For instance, you could think about leaving a mark in positions you have already been to implement some kind of flood fill.
Further, you can fill the floor with the biggest number you have seen yet. Basically, encoding your own state in the floor.
Important questions:
Is the configuration of the maze always fixed?
Is the range of possible numbers in the floor fixed to a reasonable range (e.g. digits 1-9)?

Count a 2D array within a range [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I have a map that I want to separately count the patterns of different numbers.
Without VB, I want to be able to create a dynamic counter that will be able to count the patterns of numbers.
For example:
I want to count how many times, even if it overlaps that this pattern occurs in the map
2 2
2 2
Counting I can see the pattern occurs six times but I'm struggling to create a simple array formula that will be able to do so
I've been told of success with and IF function with nested AND functions so I know it can be done without VB.
Use the formula
=COUNTIFS(A1:E15,2,B1:F15,2)
notice how the two areas are adjacent - one column offset from each other.
You can extend this to find two-by-two regions:
=COUNTIFS(A1:E14,2,B1:F14,2,A2:E15,2,B2:F15,2)
just be very careful about how the different ranges are offset.
An alternative way to write this which, I suspect, will be more efficient for large ranges is:
=SUMPRODUCT((A1:E14=2)*(B1:F14=2)*(A2:E15=2)*(B2:F15=2))

How to get mobile number by using SIM card serial number only [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I want to get mobile number by using sim card serial number only.
Is there any way to get it??
Please let me know.
Hope to hear from you soon.
Regards,
Parmanand Soni
You cannot get the mobile number from the SIM ICC ID.
The own number is included in the IMSI, but it's not usually possible to write an algorithm to retrieve it that will work for all SIMs, because it is prefixed by the country and operator codes, and the operator code has a variable length.
Own number can often be retrieved via a USSD dialogue, but this varies from operator to operator.

lecture slide about AI [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Below is a lecture slide about AI. I think it's a pseudo code about something.
But I don't know what these symbols mean. I even can't get the main points of this slide.
Please help me. Thank you :)
It's not pseudocode. Please check out Norvig and Russell, "Artificial Intelligence: A Modern Approach". This looks like effects of an action for a reflex agent but you need at least the previous slide and probably the previous few slides to determine that. It could also deal with the frame problem in some way.
At any rate, presumably given an action with a precondition p and an effect e and a state s, the set of effects are the four logic statements: x , not x, x and not x. The first two logic statements say x when x has the value 1 in the effect e, etc. The third and fourth logic statements say x if in the set of logic clauses phi then x has the value 1 in effect e and the state s entails (|=) the set of logic clauses phi.
So a pair precondition,effect is executable in a state s if and only if s entails p and the set of effects in s is consistent.
But as I said more information is actually needed.

Resources