GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — OBC-multiple-equilibria/Select_solution.m at main · MCHatcher/OBC-multiple-equilibria Expand file tree/ Copy pathSelect_solution.mMore file actions 18 lines (12 loc) · 505 Bytes / Copy pathSelect_solution.mFile metadata and controls18 lines (12 loc) · 505 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 %Select a solution (Remark 1, resolving the indeterminacy). Written by Michael Hatcher ([email protected]). %Any errors are my own. Last updated: 12/04/2023. %Pick a solution (resolving indeterminacy) sunspot = rand; for j=1:k if sunspot <= prob(1) kstar = 1; break %Selected solution at current t end if j>1 && sunspot > sum(prob(1:j-1)) && sunspot <= sum(prob(1:j)) kstar = j; break %Selected solution at current t end end |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |