ラベル

AI Forecast 8306MUFG (347) Social (79) life (75) Financial (70) IT (62) Proposal (57) AI (52) Fund Management (51) idea (51) economics (44) Trading (43) Covid-19 (40) Hedge Fund (37) Risk (36) Culture (31) BOJ (29) Science (29) hobby (27) accounting (17) Apps (16) Travel (14) career (11) job (7) Hiking (5) emotion (5) music (3) Statarb (2) piano (2)

2020年7月2日木曜日

今、世界で起きているコロナ治療薬ドラマの今後 Future of Covid-19 Cure-Medicine Drama Happening Right Now

今、世界で起きているコロナ治療薬ドラマの今後
Future of Covid-19 Cure-Medicine Drama Happening Right Now



コロナという人類共通の敵により50万人もの人が亡くなる状況を前にして、人類がかくも非生産的な内部抗争を繰り広げるとは、まったく想像もつかなかった。人類は一丸となってウイルスと闘うと信じていた。Facing global death toll of 500K by human-kind's common enemy Covid-19, I never imagined that such an unproductive internal battle can be extended among humans. I believed that human kind is smart enough to be united to fight against the virus.

しかし、私はあまりにもナイーブだった..But I was too naive.

現在、ワクチンの開発が急がれている。ただ、開発には時間がかかり、またウイルスも変異するため、即時性と効果に問題はありそうだが。Currently people are rushing to develop vaccines. However, it takes time and virus transforms also, hence its readiness and efficacy are in question though.

一方、既存の薬の適用外処方も行われている。いくつもの効きそうな薬の中で、過去何十年も利用されてきたある既存薬の有効性は早期から浮上していた。感染初期から利用した場合、重症化をほぼ防止できるようだ。Meanwhile, many study off-label use of generic drugs. One drug has been identified as promising from very early stage with history of usage over decades. If taken from inception, looks it can prevent patients to get worse to go hospitalized.

ところが、その適用外処方薬の全面的な採用は、政治闘争と、また、新薬を売らないと儲からない勢力により組織的に妨げられてしまった。However the off-label use of the medicine was blocked by organized sabotage by those who live on selling drugs, as well as by the political confrontation.

現在、その薬を推進しようとする勢力と阻止しようとする勢力の間で熾烈な戦いが進行中だ。相対する片方が薬を奨励すると、もう片方は阻止する。利害関係者はその薬が効かないとネガティブキャンペーンをしているが、そのやり方は、医療とはかけ離れた、信じがたい、口にするのも恐ろしい、目を覆うものだ。Currently fierce battle is going on between promoters and blockers. All stakeholders(blockers) have been extending negative campaign saying the drug is useless, even dangerous however, their way of campaign has been far from medicare, unbelievable eyes covering insanity, frightening and even too scary to talk about it.

言語の障壁もあり、この現在グローバルに展開されている戦いから、日本人は隔絶されている。過去の薬害の記憶も関係しているだろう。また、日本では有望とされた適用外処方薬が同様な流れで脇にそれてしまったことは記憶に新しい。Japan has been disassociated with this globally extending battle probably due to language barrier, or due to past memory of phytotoxicity. Besides, it is quite recent that Japan-version of off-label use Covid-19 medicine was set aside in the same manner.

ただ暗い話ばかりではない。But there is always a hope.

現在、米国、フランス、ブラジル、中国で、効果ありとする論文が世界中で増え続けており、いかに世界機関、国家機関を通して押さえつけても、その影響力は間もなく臨界点を超えると思われる。Currently, in US, France, Brazil and China and elsewhere, we are seeing number of studies telling the efficacy of the medicine, hence irrespective of sabotages by international organization or national organizations, the collective influences will reach up to a critical mass very soon.

今後の予測として、早々に、適用外処方薬の有効性が広く世界に認識、合意形成されるところとなり、結果、死者は激減、コロナは普通の風邪レベルになるだろう。また、これらの適用外処方薬は概ねRNA合成阻害タイプのため、ウイルスの型が変異すると効かなくなるワクチンより優位性があると考えられる。The forecast from now. Sooner or later, the efficacy of the off-label use of the medicine is going to be well known consensus world-wide, as a result, death toll will go down drastic, and Covid-19 will be like normal flue after all.  Also, most of off-label use of medicines are RNA synthesis inhibitor in nature, they have advantage over vaccine that will lose efficacy in general as virus keeps mutating.

このため、経済活動はすべて再開となり、また、第二波も心配することなく、経済ダメージも最小となるだろう。As a result, all economic activities will be resumed back to normal and also will be no worry for the 2nd wave together with the minimization of economic damage.

この悲惨な物語は、未来永劫に語り継がれることになるだろう。そして、人類にとって、その締めくくりは、医療に関するグローバルな制度改革であるべきだ。This sad story will be handed down generations forever. And conclusion of it should be the global reform of medicare system.

2020年6月28日日曜日

AI 株価予測 20200626 の状況8306MUFG Stock Price AI Forecast - 20200626 Status 8306MUFG

AI 株価予測 20200626 の状況8306MUFG

 Stock Price AI Forecast - 20200626 Status 8306MUFG


[前回予測20200619]Previous forecast


注)この投稿はあくまで個人メモです。記事に基づく実際の投資は一切行わないでください。
Caution) This is only for my memo.  Never make any actual investment based on this post.

新値の更新はなく、結果、予測に変化はない。レンジに入った感じもするが、NYの動向次第だろう。米国の金融株は、増配を規制されるようだ。MUFGは現状で配当利回りは5-6%だが、今後、貸倒引当増加などの情報も出てくるだろう。There is no change on three line break, hence there is no change on forecast. It looks chart has got into range trading but will be up to NY movement. US financial stocks are going to get restriction on dividend increase. Current MUFG's dividend yiled is 5-6% however, we may see write off increase going forward. 


日経平均は窓埋め後下降トレンド入りか。Nikkei looks on down-trend after filling chart break made earlier. 


世界のコロナ感染は経済再開後の第二波が再開しているようにも見え、NYの下落の要因にもなっている。World Covid-19 infection looks getting into 2nd wave after reopening of economy and is the reason for NY-Dow drop. 


今後も、第二波、大統領選、米中摩擦、などのマイナス要因と、無制限の経済支援バブルなどのプラス要因の綱引きが続きそうだ。From now on, market will go back and forth depending on minus factors such as 2nd wave, Nov election, China friction and plus factors such as bubble caused by unlimited financial support by government.

2020年6月25日木曜日

日銀の国債保有の内訳。 買い切り?それとも現先・レポ? Is JGB in BOJ's B/S, Outright Holding Or Repo? [2023/07/05 Amended ]

日銀の国債保有の内訳。
買い切り?それとも現先・レポ?
Is JGB in BOJ's B/S, 
Outright Holding Or Repo?

異次元金融緩和で600兆円になり、さらにコロナでさらに増加しようとしている日銀の貸借対照表(上表)の国債。The BOJ balance sheet(above table) is showing JPY600tr sizie due to QE(Quantitative Easing) and now it is further increasing in size by Covid-19.

このバランスシートを見ると、日銀は当座預金で得た資金400兆円と、日銀券発行分100兆円で、国債500兆円を購入したと読める。If you look at this balance sheet, you can read that BOJ purchased JGB JPY500tr funded by central bank note issuance JPY100tr and current account deposit JPY400tr.

ところが、この構造の意味に対して疑問を抱く人が多い。However, many people wonder or question on the real meaning of this structure.

この国債は一体日銀が買い切りで保有しているのか、それとも、現先・レポで、短期的に保有してロールしているだけなのか。また、その財源は当座預金だが、この資金は民間からの預け金なのかそれとも技術的に表示されているだけで実際は違うのか。会計的にはこう書かれているけれど、これはあくまで会計上のことであって、等々。Was this JGB bought on long term holding basis, or on short term basis through repo? Or funding was done from current account however, this fund is really from public sector or it is just shown technically as such but reality is different? Accounting description can be this way but this is only in the accounting world but reality is different, etc, etc.

疑問を抱く人たちは、現先・レポによる公開市場操作による国債の取得を考えているのかもしれないと私は考え、ここで、現先・レポの場合の貸借対照表の現れ方について触れたい。I imagined that those who have question may think of repo based open market operation to buy JGB, so here I wish to touch on the balance sheet presentation in the case of repo.

答えは非常に単純だ。The answer is quite simple.

日本の会計基準では、現先・レポは現金の貸借のみを表示し、国債は表示しないのだ。国債は現先・レポ取引が始まる前の所有者の貸借対照表上に留まるわけだ。In Japanese accounting standard, repo is presented as money lending/borrowing only but JGB will not be shown. JGB will stay on the owner's balance sheet as it resides before the repo transaction.

よって、タイトルの質問、「この国債保有残高の内、買い切りはどのくらい?現先・レポはどのくらい?」への答えは、買い切り100%、現先・レポは0%である。Then, for the answer to the question in the title, 'Is JGB in BOJ's B/S, Outright Holding Or Repo?', the answer is 100% outright holding, 0% Repo(precisely, should say reverse repo).

リーマンショック以来、日銀は本当に民間資金を元手に国債を買っているのだ(**)。貸借対照表は日締め(一日の終わりに締めた状態)を表し、日中で完結する取引は表示されない。貸借対照表に表示されているということは、民間資金の当座預金は確実に日銀に貸し出した状態で夜を越していることを意味する。After Lehman shock, BOJ has been really purchasing JGB funded by private sector money(**). Balance sheet shows end of day status, but not intra-day transactions. If presented in the balance sheet, it means that private sector's money really stayed overnight at BOJ.

[2023/07/05 Start of Amendment ]
(**)正確には、民間資金を調達して買っている訳ではなく、信用創造が行われている。(**)Precisely speaking, BOJ is not getting money from private banks but new money is generated by BOJ to fund for purchase of JGB.
[2023/07/05 End of Amendment ]

貸借対照表は当座預金の資金で国債を買っている状態(ON)で夜を越したことを明示しており、「でも、実際はこれと違う」ということはない。Balance sheet shows that JGBs are bought funded by the current account money on overnight basis(ON), hence no one can say that 'reality is not like this'.

2020年6月24日水曜日

コロナ経済支援ー中央銀行の自信と限界 Covid-19 Financial Aid - Central Bank Confidence and Limitation

コロナ経済支援ー中央銀行の自信と限界 Covid-19 Financial Aid - Central Bank Confidence and Limitation


コロナにより止まる経済。The economy stopped by Covid-19.

これを救うために世界の出した解は単純明瞭。失われた消費Cを政府支出Gで補うというものだ。Global answer to save, was simple. That was to support missing consumption C by government spending G.

そしてその原資は国債発行だ。ただ、昔と違うのは、国債を引き受ける中央銀行は、原資には銀行預け金を用い、紙幣を絶対に印刷しないことは以前に触れた。And the funding is done by issuing government bonds. As I touched before, one thing different from ancient time is that funding to purchase government bond is done by bank deposits but not by printing central bank notes.

政府支援に加え、中央銀行は格付けの低い社債まで無制限に購入して企業をサポートする。倒産した場合の損失は、政府支出となり、国債発行で穴埋めされることになる。On top of government support, central banks extend unlimited purchase of even the lower credit corporate debts to support firms.  Once going bankrupt, the loss will be charged to government expenditure funded by new government issuance.

この、MMT的な枠組みはしかし、無制限に行うことはできない。This MMT like framework however, cannot be done forever.

ここで、破綻シナリオを考える。Here we think of catastrophic scenarios.
  • 何らかの理由で政府への信認がなくなり、政府の格付けが落ち、銀行預け金が中央銀行から逃避した場合、次の2つの場合が考えられる。If for some reason,  government lost credibility, followed by downgrade and bank deposit run away from central banks, there are two cases, 
    1. 保有国債を売却するが、国債暴落が金利高騰を招き悪循環となる。Government bond holding will be sold but this triggers interesting rate hike followed by vicious cycle. 
    2. 売却をせず、かわりに紙幣を発行すると、今度はインフレを招く。Do not sell the holding bond but issue central bank notes and invites inflation. 
  • 国債残高が際限なく増え続けた場合も、どこかの段階で破綻が訪れると思われる。現状、国債残高はGDPの2倍、税収の20倍、プライマリーバランスは未だマイナス、公債依存度3割だ。When government bond balance increase infinite, at some point we will fall into catastrophe. Currently government bond balance is twice as big as GDP, 20 times tax revenue, and primary balance is still negative and national budget depends on government bond issuance for 30%. 
今後も、薄氷を踏むような金利操作により銀行預金をバランスシートに留まらせつつ、国債消化を支援する体制が継続するだろう。コロナが早急に終息し、経済が復活し、各国の中央銀行がバランスシートの縮小に向かえることを願う。Even from now, delicate interest rate manipulation will keep bank deposit on balance sheet to support digestion of new government bond issuance. We all wish that Covid-19 will end and economy recovers. Then each central banks can go ahead for balance sheet shrinkage phase. 

2020年6月23日火曜日

マイナンバーカードで変わる社会 My Number Card Changes the Society

マイナンバーカードで変わる社会

My Number Card Changes the Society


 マイナンバーカードを受け取った。1年ほど前に電子申請したが、当時は申請受付番号の連絡メールも送られないシステムで、1か月後に問い合わせしても申請の事実はないと言われる始末だった。最近になってもう一度試してみたところ、今度は申請受付番号の連絡メールが来た。システムを改善したようだ。Just got My Number Card( Social Security Number). I requested one year ago electronically however, the request system was poor enough not to be able to issue request number to applicants. I waited one month and made confirmation to find out that there is no request made.  I tried recent and this time system was improved to return request number.

 現在のところ、実質的にはカードを配布しただけで、その実際の利用は限られているため利便性は殆ど無い。日本ではマイナンバーの全面活用には全方面からの抵抗が大きい。合理化は仕事を減らすし、情報が犯罪に利用された場合、その被害も大きくなる。戦争で赤紙を受け取った国民は拒否反応が遺伝子に刷り込まれているという話もある。At this point, there is no advantage to obtain the card since its use are limited except the fact that the card was distributed. There are big resistance from all aspects for the extensive use of My Number in Japan. That is because efficient system will reduce works, and if information is abused, the damage will go bigger. Someone also explains that citizens who got war warrant in history are inheriting genetically to go allergic to the national serial numbers.

 一方、国家統制が強い中国などは一気に展開できその恩恵をいち早く受けることでさらに競争力を増す。Meanwhile, a country with strong control such as China, can extend the use very quick hence can enjoy the benefit to increase its competitiveness.

 高度にデジタル化、国際化されてきた社会において、通し番号なしに社会システムを維持管理するのはあまりにも時代遅れで、相対的に非効率だ。既に下落の一途である日本の国際競争力の足を更に引っ張りかねない。In a highly digitized and global society, it is too outdated and relatively inefficient to manage society without serial number. Such avoidance will further accelerate already declining Japan's global competitiveness.

 今後、紆余曲折はあるものの、下に列記した分野を始め、あらゆる分野にマイナンバーは浸透していくべきだろう。その効果は弊害を補って余りあるものがあるはずだ。Going forward, with back and forth, My Number will go through whole area including below. And its benefit should surpass the downsides.

行政効率化Efficient Government:不動産登記Real Estate Perfection、税務Tax、健康保険Health Insurance、年金Pension、出入国Immigration
医療Medicare:医療履歴管理、共有Medicare history tracking&sharing
金融・資本市場Money&Capital Market:中央銀行デジタル通貨決済Settlement By Central Bank Digital Currency

2020年6月22日月曜日

コロナが問う巨大都市の存在意義 Covid-19 Questions Existence of Megalopolis

コロナが問う巨大都市の存在意義

Covid-19 Questions Existence of Megalopolis



コロナは「都市」の意義を問い直し、「都市」を再定義をする良い機会にもなってきている。テレワークが主流となると、もう人は都市に必ずしもしがみつく必要はない。Covid-19 gave us good opportunity to reconsider the reason for existence of CITY to redefine what that is. Once remote-work becomes popular, there is no need to stick to city anymore.

都市の魅力は高度な情報の集約性がもたらす効率性だ。すべての経済主体が揃い、直接相手と会っての交渉が可能だ。同時に都市には、インフラが整い、繁華街、商店、文化施設が集中し、人間の交流の場ともなっている。そして、都市の周辺には居住地区が広がる。The attraction of CITY is the efficiency from high concentration of information. All economic entities are there, and can make direct face to face negotiation. At the same time, CITY is well equipped with infrastructures, busy downtown, shops and cultural spots where we can also enjoy socialization and interactions.

これが、太古の昔から続く、大なり小なり同様な、都市の形だ。未来を予想するはずの、空想科学小説にも、ただ広大で複雑な都市が広がる未来が描かれ、読者も皆納得している。未来の都市はこうなるのだ、と。This is the typical picture of CITY more or less since very ancient times. Even in the science fiction, that is supposed to forecast future, just vast and complex cities are described and readers are well satisfied.

ところが、コロナはそんな平板な未来観を消し去ってしまうかもしれない。テレワークが究極まで進んだ果てには、都市の形はどうなるのだろうか?仕事が世界中どこでも可能だと分かった人たちは、一体どこで生活しようと思うのだろうか?However, Covid-19 may wipe away such plane-vanilla futuristic view. How then, the future CITY will look like after remote-work goes ultimate point. If people aware that his/her work can be done where-ever in the world. where those people wish to have living?

大雑把に考えて、東京のオフィスはどうしても人対人の接触が必要な業務を残して1/10ぐらいに減少するだろう。通勤が不要になった9割の人は、より自然の多い場所へ引っ越すかもしれないし、都市が好きで居続けるかもしれない。Very roughly, the office in Tokyo are will reduce to 1/10 leaving staff who really needs physical human interactions.  There rest 90% of employee who no more need to commute, may move to more country side with nature, or may love to stay in the CITY.

コロナは災厄だが、それが通り過ぎた後には、多くの良い変化も起こりそうな気がしてならない。Covid-19 is a calamity however, after it passed away, many good things may happen, I feel.



首都機能バックアップとコロナ Backup Capital and Covid-19

首都機能バックアップとコロナ

Backup Capital and Covid-19



災害危機時の代替都市の必要性は懸案事項だった。Backup city at the time of disaster crisis has been always a concern.

地震、津波、自然災害はいつどのようにして来るかわからない。このため、会社でも、災害時の代替拠点を作り、定期的に予行演習を行うことで、災害時の業務継続計画を立てた。You never know when and how natural disaster will come such as earthquake or Tunami. Hence disaster time business continuity plan was established and has been tested periodically through fire-drills.

ところが、コロナはこの考え方を一変させた。コロナによるテレワークで業務遂行が可能になった時点で、会社の業務には物理的なオフィスはサイバースペースに取って代わられたと言って良いだろう。インターネットなどのIT技術がサイバースペースですべてを完了することができるレベルに到達した結果だ。However Covid-19 changed these whole setup all of a sudden.  At the time when remote-work was found out to be feasible as tested through Covid-19, we all aware that, the physical office space for cooperate process was almost taken over by cyber-space. This is the result of IT technology, such as internet, that was developed to the level to make whole office process complete in cyber-space. 

サイバースペースのバックアップは通常、全世界的に行われる。長野のデータセンターのバックアップは米アリゾナ、豪メルボルンという具合だ。さらに社員が各地に散らばることで危機時の全滅を防ぐことができる。The backup of cyber-space is done globally normally. This is just like, Nagano data center's backup is done in Arizona, USA, or Melbourne, Australia. Furthermore, by scattering the residential location of employees, we can avoid to lose the whole team members at the same time during crisis time.

日本の弱点は、地震などの天災が多いのに、すべてが東京に一極集中していることだった。ところが、コロナによる業務のバーチャル化は、図らずして、この日本の弱点を消し去ってくれる。The weakness of Japan was Tokyo concentration although Japan has lots of natural disasters such as earthquakes. However, Covid-19 oriented virtual transformation of business process looks unintentionally wiping out these weak points. 

コロナ・テレワークと都市型CMBS(商業用不動産担保証券)の行方  Covid-19 Remote-Work and the Future of Metropolitan CMBS(Commercial Mortgage Back Securities)

コロナ・テレワークと都市型CMBS(商業用不動産担保証券)の行方 

Covid-19 Remote-Work and the Future of Metropolitan CMBS(Commercial Mortgage Back Securities)



コロナでは感染防止に多くの企業がテレワークを余儀なくされた。当初、多くの不都合が予想されたが、結果は、かなりのオフィス作業はテレワークで完了するというものであった。Covid-19 forced many firms to exercise remote work. Initially, many expected lots of troubles but the result was different, showing that significant part of office jobs can be completed by remote-work. 

共有ドライブ Shared Drive
テレビ会議 TV conference
メール Mail
オンライン文字会話ツール On Line Text Conversation Tool

実際、オフィスで仕事をしていると、一日中、メール、電話、データは共有ドライブにセーブして終了。会議はたまにあるが、これは実際、電話、またはビデオ会議で事足りる。As a matter of fact, while you are in the office, during days, you do mail, phone and save data onto shared drive. You have meeting once in a while but most of them are done on call conference or video conference basis. 

今回のコロナを機にオフィススペースを縮小、返上する企業も出てきた。この世界的現象はIT・金融に留まらず、さらに拡大しつつある。Some companies reduced or totally returned office space taking this Covid-19 opportunity. This global trend is not just limited to IT and Finance but expanding further. 

こうなってくると、都市の中心に高額の賃料を払ってオフィスを構える必要は減退し、ひいては都市型オフィスの不動産価値の下落に、ついては都市型オフィスを多く組み入れるタイプのCMBSの下落につながる可能性も出てきた。Facing this, there will be the lesser needs to have office at the center of the city paying high rent, with consequence of price down of metropolitan office real-estate price, then eventually, the lower price of CMBS that holds metropolitan area offices.




2020年6月19日金曜日

AI 株価予測 20200619 の状況8306MUFG Stock Price AI Forecast - 20200619 Status 8306MUFG

AI 株価予測 20200619 の状況8306MUFG

 Stock Price AI Forecast - 20200619 Status 8306MUFG


[前回予測20200612]Previous forecast


注)この投稿はあくまで個人メモです。記事に基づく実際の投資は一切行わないでください。
Caution) This is only for my memo.  Never make any actual investment based on this post.

 先週の相場急落が若干戻った。新値チャートに変化はないため、新値AI予測には変化はない。日、週、月とも下落を予測だ。日足が再度400円を下回り下値の新値を更新すれば日、週、月すべての予測が的中する方向となるが、それは、日経平均の2番底を示唆する。The market went up a bit partially filling up the drop of last week. There is no change on 3LB(Three Line Break), hence there is no change on AI forecast.  All forecast another drop for daily, weekly and monthly.  If daily breaks resistance level JPY400 once more to revise 3LB downward, day/week/month forecast will all be realized but it implies 2nd bottom of Nikkei225.


 NYも日経平均も先週までの勢いは無く、ここから先の上昇は新たな展開が見えてくることが条件となろう。チャート的には上昇トレンドは概ね維持されている。Both Nikkei and NY Dow have no strong momentum unlike previous weeks, hence new developments are required for further hike. Nevertheless upper trend is still kept from chart aspect. 


 コロナについては、ワクチン、治療薬開発が次々と話題になる一方、ブラジルの感染拡大が止まらない。今後、ヒドロキシクロロキンなどにより、死亡者数が実際に減少していくかどうかが注目される。For Covid-19, Vaccine and cure medicine developments are rushing while infection explosion in Brazil does not stop. Going forward, we need to watch if death toll will actually decrease in Brazil by medicines like  Hydroxychroloquine.
 
 

2020年6月16日火曜日

NodejsへのTensorflowセットアップ方法 How to setup Tensorflow onto Nodejs

NodejsへのTensorflowセットアップ方法

How to setup Tensorflow onto Nodejs


NodejsはJavascriptをサーバー側で走らせるための環境。Javascriptは基本、ブラウザ内で走るが、Nodejsとすると、C++モジュールを実行するため高速化される。Nodejs is a Javascript environment to run on server-side. Javascript normally runs in browser but in Nodejs, it can run faster due to C++ module called direct.

ここでは、新値三本株価予測AI(日足)をNodejs上で実行。Here, I run three line break forecast AI(daily) on Nodejs.

結果、C++モジュールによる高速化は最近のCPUでないと動作しないということが分かり手持ちのi5-650デスクトップではテストできなかったが、C++高速化なしで、かつ、古いCPUでも2倍程度(12分が6分に短縮)の高速化を達成。ただ、Chromeブラウザのハードウエアアクセラレーション(WebGL)をONにすると、Nodejsより若干早い4分で完了したため、新しいCPUでないと、Nodejsを用いる意味がないことが分かった。As a result, I found out that C++ module acceleration works only when recent CPU is used but not on my legacy CPU, i5-650 Desktop. Nevertheless, I achieved acceleration for 2 times(execution time reduced from 12 min down to 6 min). However, if I turn hardware acceleration of Chrome browser as ON(WebGL), program completed in 4 minutes that is faster than Nodejs. Hence, unless CPU is new, there is no point of using Nodejs if WebGL is available.

環境はwin10。ユーティリティーライブラリ管理などの環境維持のために、npmという環境がnodejs標準インストール時に自動的に設定される。Environment is Windows10. For the purpose of utility and library maintenance, environment called npm is also installed by default when nodejs is installed.

ブラウザーでJavascriptを実行する場合、ライブラリはSRCでスクリプトをインターネット上で参照。一方、NodejsではライブラリをPCにnpm経由でインストール。When run Javascript on browser, libraries are called through SRC from internet but in nodejs, library is installed onto PC explicit through npm.
  • Nodejs、npmインストール Nodejs, npm installation
    1. https://nodejs.org/en/download/から、LTS(安定板)をインストール。Install stable version LTS from link https://nodejs.org/en/download/.
    2. コマンドnode --versionでバージョン確認。Check version by command node --version.
    3. npm --versionでnpmの確認。Check npm version by command npm --version. 
  • ライブラリインストール Install libraries. 
    1. 自分のJavascriptソースコードファイルが置いてあるディレクトリに移動。ここで、nodejsがインストールされているディレクトリではなく、ソースコードが置いてあるディレクトリである事がとても重要。Nodejsではプロジェクトごとにライブラリを設定。Move to directory where your own Javascript source code is saved. It is very important to move not to the nodejs installation directory but to the directory where we have source code. It looks nodejs needs to setup library for each projects. 
    2. 個別インストール Individual installation
      • 統計処理ライブラリインストール Statistical library installation
        • コマンドnpm install simple-statisticsで統計処理パッケージのインストール。Use command 'npm install simple-statistics' to install.
        • var ss = require('simple-statistics')をプログラム中で宣言。In the program, define var ss = require('simple-statistics').
      • 日付ライブラリーインストール Date library installation
        • コマンドnpm install date-utilsでインストール。Run command 'npm install date-utils' to install.
        • require('date-utils')をプログラム中で宣言。Declare 'require('date-utils')' in the program.
      • Tensorflowインストール Tensorflow installation
        • コマンドnpm install @tensorflow/tfjs-nodeでTensorflow.jsの高速版nodejsをインストール(新しいCPUの場合)。CPUが古い場合、コマンドはnpm install @tensorflow/tfjs。Use comand 'npm install @tensorflow/tfjs-node' for fast Tensorflow.js on nodejs(Only for new CPU). When CPU is old, command is 'npm install @tensorflow/tfjs'.
        • var tf = require('@tensorflow/tfjs-node')をプログラム中で宣言(新しいCPUの場合)。CPUが古い場合、プログラムはvar tf = require('@tensorflow/tfjs')。In program, define var tf = require('@tensorflow/tfjs-node') when CPU is new.  If CPU is old, define 'var tf = require('@tensorflow/tfjs')'.
      • インストールディレクトリにディレクトリnode_modulesが生成され、その下にインストールしたsimple-statistics、date-utils、Tensorflowを確認。After installation, you can see directory node_modules created in the installation directory under which you can confirm simple-statistics、date-utils、Tensorflow.
    3. プログラムをWeb版からNodejs版に移植 Transplant program from Web version to Nodejs version. 
      • プログラムの最初の方でライブラリ読込。Load library at the beginning of the program. 
        • var ss = require('simple-statistics')
        • var tf = require('@tensorflow/tfjs-node')。低速CPUはFor slow CPU, var tf = require('@tensorflow/tfjs')
        • require('date-utils');
      • Web画面が無いため、GUI関連部分はすべて消去、書き換え。Since there is no Web screen, scratch out or rewrite for whole GUI part. 
なお、古いPCでそのままtfjsのまま走らせていると、次のメッセージがコンソールに表示されるのはかわいい。Furthermore, if you run on tfjs basis on old PC, below messages are shown up on console, that is cute. 
============================
Hi there �. Looks like you are running TensorFlow.js in Node.js. To speed things up dramatically, install our node backend, which binds to TensorFlow C++, by running npm i @tensorflow/tfjs-node, or npm i @tensorflow/tfjs-node-gpu if you have CUDA. Then call require('@tensorflow/tfjs-node'); (-gpu suffix for CUDA) at the start of your program. Visit https://github.com/tensorflow/tfjs-node for more details.
============================

2020年6月13日土曜日

AI 株価予測 20200612 の状況8306MUFG Stock Price AI Forecast - 20200612 Status 8306MUFG

AI 株価予測 20200612 の状況8306MUFG

 Stock Price AI Forecast - 20200612 Status 8306MUFG


[前回予測20200529]Previous forecast


注)この投稿はあくまで個人メモです。記事に基づく実際の投資は一切行わないでください。
Caution) This is only for my memo.  Never make any actual investment based on this post.


 相場は反落した。日足は月曜日に上昇、火曜にピークをつけてから調整した。先週末のAI予測は日足で上昇下降半々の推定結果だった。週足、月足の新値に変化はない。Market inverted. Daily picked up on Monday and hit peak on Tuesday, then entered into correction. Last week's AI forecast for daily is both up/down and is unstable. No change on 3LB(three line break) for weekly as well as for Monthly.

 しかし、月曜日の暴騰で新値が更新された後、火曜日以降の日足のAI予測は何度流しても大幅な下落だった。果たして、相場は大幅に下落した。本AI予測が出した、クリティカルな局面での初めてのタイムリーな当たりのケースであった。But, right after the up on Monday with 3LB advance, how many time I run, I got same result telling major drop. After all, market dropped rather big. This is the 1st time that this AI made timely forecast in such a critical moment.

 このような、何度流しても同じ結果が出る現象は、月足でも見られており、それによると、下落はさら続く予測が出ているのは前にも触れた。もしその予測が正しければ今後はレンジ相場となる。ただ、2000年からの月足のデータ数は日足の1/20と少なく、その精度には問題もあるだろう。Likewise, monthly AI is showing same result even if I run several times, telling that market will go down further. If that forecast is correct, the market will go in range trading. However, data from yr2000 for monthly is only 1/20 of daily, hence its precision may have limitation though.


日経平均、ダウとも、調整基調だ。ここまでの殆ど全値戻りがファンダメンタルズを反映しているのかは大勢が疑問視しており、この調整も全く自然なこととして受け取られている。もっとも、現状のファンダメンタルズは誰も正確に把握できていないのも事実だ。Both Nikkei and Dow is on down trend. All question whether rebound almost up to the original level represents fundamentals or not, hence this correction is rather taken as granted. Nevertheless, it is also true that no one really has precise understanding of fundamentals. 


今後、短期調整なのか、2番底へ向かうのかは次の要因によるだろう。Whether this immediate drop will be temporal short one or heading downward to 2nd bottom, will depend on below factors. 

プラス要因 Plus factors
  • 経済再開は始まっている Economy reopening has started
  • 政府支援は余りあるほど Government aids are more than sufficient
  • 治療薬はもうすぐかも(hydroxychloroquineは実際は有効なようだ)Remedy may come soon(Hydroxychloroquine looks effective)
  • 原油相場回復基調 Oil market is normalizing

マイナス要因 Minus factors
  • 第2波が来るかも 2nd wave may come
  • 米中対立 US/China confrontation
  • 11月中間選挙 Nov midterm election
  • 治療薬展開はさらに長引くかも May take longer for deployment of remedy
Hydroxychloroquineについては動向を追跡している。実際のところは治療効果はあるものの、政争と利権にまみれて、人命救助には広く展開されていない。今後これが世界的に認められれば、コロナ問題は殆ど解消すると思われ、相場は大きくプラスに展開する可能性がある。I am now following the development of Hydroxychloroquine. Although it looks working, due to politics and pharma competition, it is not used extensive to save lives. Going forward, if it is approved global, Covid-19 problem may disappear and have big impact on market as well. 


2020年6月7日日曜日

AI 株価予測 20200605 の状況8306MUFG Stock Price AI Forecast - 20200605 Status 8306MUFG

AI 株価予測 20200605 の状況8306MUFG

 Stock Price AI Forecast - 20200605 Status 8306MUFG


[前回予測20200529]Previous forecast


注)この投稿はあくまで個人メモです。記事に基づく実際の投資は一切行わないでください。
Caution) This is only for my memo.  Never make any actual investment based on this post.

 チャートは上放れした。新値チャートは448.7を超えた日足のみが変化した。AI予測は概ね上向きのまま。週足・月足新値が逆転するには各々531.9 609.4をクリアする必要がある。Chart left trend upward. Three Line Break changed for daily chart only due to break through of level 448.7. AI forecast remained the same upward. Level 531.9 and 609.4 need to be cleared respectively to invert three line breaks for weekly and monthly.



NYおよび、東京の株は上昇の一途だ。George Floyd事件にも関わらず、もうすぐコロナ前の水準に達する勢いだ。NY and Tokyo stock just keep going up. Irrespective of George Floyd incident, almost going to reach up to the pre-Covid-19 level. 


予想外の失業者の減少、NYの死亡者がゼロになるなど、鎮静化は進み、経済支援の効果も出てきていることを好感したのか。GNPの10%の政府支出はコロナ被害を補って余りあるのかもしれない。Unexpected reduction of unemployment and zero increase of death toll in NY indicates calming down of the situation together with economic aid showing positive impact.  Government economic aids of 10% GDP can be more than sufficient to cover damage from Covid-19.

ここまで来ると、単なる反発でなく、コロナバブルの様相も呈してきた。It started to look more like Covid-bubble but not just rebound. 

ただ、現在の戻りの主役はTechで金融は出遅れている。金融は、今後の貸し倒れ引当金増加、異次元緩和継続等がマイナス材料、中央銀行や政府の無制限の支援等がプラス材料となる。Rebound is lead by Tech but Finance sector is behind. Finance sector worries increase of defaults and continuation of QE but looking at positive end, can expect unlimited support from government and central banks.

今後、コロナ第二波とともに2番底もあるだろうが、コロナ第二波が高死亡率の強毒性でもない限り、1番底を下回る可能性は低いのではないだろうか。The 2nd wave of Covid-19 may induce another bottom but as long as 2nd wave has no higher toxicity with higher mortality( of course no guarantee ), the chance to go down lower than the 1st bottom will be small. 

今世界では多数のワクチン、治療薬の開発が始まっている。あと一か月もすれば、かなり状況は改善していると考える。In the world right now, many have been working on development of vaccines as well as cure medicines. After one month from now, I expect lots of positive changes in prospect to come out. 

2020年5月29日金曜日

AI 株価予測 20200529 の状況8306MUFG Stock Price AI Forecast - 20200529 Status 8306MUFG

AI 株価予測 20200529 の状況8306MUFG

 Stock Price AI Forecast - 20200529 Status 8306MUFG


[前回予測20200522]Previous forecast

注)この投稿はあくまで個人メモです。記事に基づく実際の投資は一切行わないでください。
Caution) This is only for my memo.  Never make any actual investment based on this post.

 チャートは三角持ち合いから上放れ再挑戦で日足新値は陽転した。週、月足新値に変化はない。Daily chart shows triangle-converging range trading, breaking upward once more, this time successfully created upward directional switch. There was no change for weekly and monthly three line break charts.



市場全体のリバウンドは大きく、全値戻しの勢いだ。下図は日経平均だがNYダウも同様な状態だ。The rebound momentum of market is big, almost going to recover the whole drop soon.  Blow chart is for Nikkei225 but Dow looks almost the same. 


世界の感染爆発にはめどがつき、欧米の経済再開と大規模な政府経済支援による米国株式市場の戻りが要因だ。The infection explosion of the world started to see its bound, also US and Europe's reopening of the economy as well as massive government financial aids are the causes of US stock market rebound. 

ただ、世界で36万人、米国でも10万人が死亡し、ブラジルでは感染爆発が始まったばかりだ。同時に需要の減退により原油が暴落、企業も倒産の淵にあり、失業者も記録的な数になっている。また、来る第2波に対し、まだ治療薬も配備されない状態だ。However, death toll is 360K for the whole world and 100K for US followed by Brazil where infection explosion has just started. Crude oil price dropped harsh due to lack of demand, private companies are on the edge of default, unemployment rate is hitting record high. Also, although we are expecting 2nd wave to come, we still have no definite cure medicines deployed yet. 

株価は先を見て動くという。このリバウンドが本当に来る未来の姿を現していると願いたい。Stock market is said to move as a forecast of future. I wish that the immediate rebound is reflecting the future that is really coming.  

2020年5月28日木曜日

コロナ後の世界 After-Covid19 World

コロナ後の世界 After-Covid19 World


コロナ第一波は終了し、日本の緊急事態宣言が解除された。1st wave of Covid-19 was over and government took back national state of emergency.

2/3のダイアモンド・プリンセス号や、欧米での感染爆発を横目にオリンピックへの期待に浮かれていた日本も、感染爆発前夜に非常事態宣言を発令、結果、感染爆発は抑えられた。Looking aside Feb 3rd Diamond Princes incident as well as infection explosion of Europe and US, Japan has been in euphoria  for coming Olympic however, Japan woke up at the last minute before the infection explosion and declared national state of emergency, then infection explosion was avoided. 

日本はコロナを最後まで大事としない対応を取ったのに、日本での被害が少なかったのは運が良かった面も多いと考えられている。弱毒のコロナの前流行による免疫効果、BCG効果など諸説ある。人との接触を制限する手法は経済の停滞を招いたが、世界は今、経済再始動へ向けて動き出している。Japan did not take Covid-19 as serious matter until the end but damage was minimal mostly due to lucks from couple of aspects. People are talking about immune effect by pre-Covid-19 infection spread in Japan unknowingly, or other theory such as BCG effect etc. The epidemiological approach to take distance each other introduced stagnation of economy however now world is going to restart the economy. 

コロナによる都市封鎖体験は人々の物に対する考え方を変えた。The rock-down experience changed the way of thinking for many people. 

人出を8割減らすため実施したリモート勤務により、オフィスワーカーの仕事は、ほぼ自宅から行えることが確認され、実オフィスの縮小を考える事業体が拡大した。80% reduction of office physical workforce was proved to be functional in many companies, meaning that most of office worker's job can be done remote from home.  This drove many enterprise to consider the shrinkage of real office space.

オフィスは限りなくバーチャルなものになっていくだろう。その結果、次のような流れが加速するのではないだろうか。Physical office will be converted to virtual office forever. As a result, below trends can be accelerated.

  • 従業員のバーチャル化:居住地、身体能力、年齢、性別、人種、国籍の制約消滅 Virtual office workers: constraints from residency, physical capacity, age, gender, race and nationality will go extinct. 
  • 通勤不要:交通機関の混雑緩和 No commuting: Less traffic jam or congestion from commuting. 
  • 不動産:都市物件の値下がりと、郊外物件の値上がりReal Estate Price: Lower price for metropolitan area and higher price in rural area. 
満員電車や渋滞で疲れ果て、都心のオフィスに通う生活は過去の物になる。Tiring commuting to metropolitan area, packed in train or traffic jam, will be a history. 

2020年5月24日日曜日

AI 株価予測 20200522 の状況8306MUFG Stock Price AI Forecast - 20200522 Status 8306MUFG

AI 株価予測 20200522 の状況8306MUFG

 Stock Price AI Forecast - 20200522 Status 8306MUFG


[前回予測20200515]Previous forecast

注)この投稿はあくまで個人メモです。記事に基づく実際の投資は一切行わないでください。
Caution) This is only for my memo.  Never make any actual investment based on this post.

 チャートは三角持ち合い継続で新値に変化はない。このため、AI予測は不変。Chart shows triangle convergence making no change on three line break result. Hence there is no change on AI forecast.

[ MUFG 20200522 ] 

 米国を始め、世界はロックダウンを徐々に解除し始めた。東京の感染者は10人を下回り、東京も含めた日本の非常事態宣言解除も近い。US and world are terminating rock-down gradually.  New infections in Tokyo counted lower than 10, making reopen closer.

世界的な解除の主目的は経済活動の再開である。政府の支援はGDPの10%に及ぶがこれ以上の閉鎖はダメージが大きすぎる。今回のコロナは経済再開可能な致死率であったということも言える。もし、今回のコロナの致死率がエボラ並みだったとすると、閉鎖解除は完全な感染終息を待たなければならなかっただろう。The objective of global reopen is resumption of economic activities. Government aids are reaching up 10% of GDP but beyond this level is a bit risky. We can say that immediate covid-19's mortality is not big enough to stop reopening.  If Covid-19's mortality rate is equivalent to Ebola, reopening may need to wait for total elimination of virus.

[ TOPIX 20200522 ] 


日本のコロナ対応は最悪であったにも拘わらず、欧米の被害と比べて幸運にも被害が少ない理由について疫学的な議論が行われているが今後の好転を保証するものではない。市場は概して回復基調だが、第二波やダメージの深さを懸念して一気に戻る様子はない。Lots of discussion is going on for the reason why Japan's mortality rate is low, by luck, compared to US and other European countries although Japanese government's correspondence was far from ideal Nevertheless, epidemiological discussions may not guarantee the aftermath. Market is only on gradual rebounding track fearing the 2nd wave as well as the depth of damage to the economy.

一つ気になるのがクロロキン処方の行方だ。注意深く調べると効果はあるようだが政治的・営業的な理由で情報戦争となっている。近く英国の医療従事者で大掛かりな試行が行われるようだ。G7参加国での効果実績は大きなアナウンス効果があり、効くことが広まれば世界のコロナ対応は大きく好転することが予想され、11月の米国大統領選にも影響しよう。今後の展開が注目される。One thing to note is the future of Hydroxychloroquine. It looks effective if I look close but currently is under disinformation war due to political as well as marketing reason.  Large scale testing for UK medical workers for prevention is going to start soon. The success story in G7 countries has big announcement impact, hence if it is proved to be effective, Covid-19 global situation will be totally different.  Same impact is expected for Nov US president election. 

2020年5月15日金曜日

AI 株価予測 20200515 の状況8306MUFG Stock Price AI Forecast - 20200515 Status 8306MUFG

AI 株価予測 20200515 の状況8306MUFG

 Stock Price AI Forecast - 20200515 Status 8306MUFG


[前回予測20200508]Previous forecast

注)この投稿はあくまで個人メモです。記事に基づく実際の投資は一切行わないでください。
Caution) This is only for my memo.  Never make any actual investment based on this post.

持ち合い相場は上抜けの後、下放れしつつあるが、まだ新値の更新は無いため、AI予測に変化はない。There is no change on AI forecast since there is no change on three line break itself due to continuing range trading although it broke up, then gone down.

米国株は底値からの戻りが早すぎるという議論が高まり、チャートからも下落タイミングを探る状態だ。GDPの10%の支援策では足りず、追加の支援策も検討され、米国はトランプがマイナス金利導入圧力をかけ始め、同時に中国との摩擦激化も懸念される。US market recovered too quick from bottom but now looking for the timing to dive from chart perspective. GDP10% looks not sufficient, and additional aid is on table while Trump started to pressure on negative interest rate, at the same time escalating conflict with China and it is another concern.

確固とした治療薬も確定せず、コロナ第二波襲来はほぼ確実とされる一方で、封鎖解除に向けて各国は進んでいる。今回のコロナは高齢者以外にとっては普通のインフルエンザ並みの致死率なため、集団感染で対処しても経済自体は稼働する。そのため自然に任せる国も当初あったが、悲惨な高齢者の死者数の増加を目にして、隔離政策に舵を切った。There is no definite cure exists and 2nd wave of Corona attack looks coming for sure, while countries are heading for termination of rock down. Current Corona's mortality rate is the same as normal influenza except for elderly people, hence economy can go on even if we go on mass infection basis. Hence some countries just let it go with no measures however, facing tragic death toll of elderly people piling up, finally switched to rock down policy.

東京の新規感染者は一桁台に減少しつつあり、都市封鎖の成果は出ているようだ。ただ現状では症状があっても医療機関に診察拒否される医療崩壊状態が続いており、実際の感染者は10倍でも不思議はない。The number of infections in Tokyo has gone down to one digit thanks to mild semi rock down.  However even now new patients are rejected for medication due to capacity overflow. Hence actual infection can be ten times higher.

現状で、ウイルスについては不明な点が多い。Still lots of mysteries exist on Virus at this point.
1)実際の感染率は10%を超えているのではないか?1万人抗体検査が6月にある。Actual infection rate is over 10%? 10K people scale antibody test is coming in June.
2)日本は1-3月で第一波が来ていてそれが超過死亡となっているのではないか?Japan was actually hit by 1st wave from Jan-Mar as evidenced by excess death toll?
3)日本の死者が少ないのは、弱毒な武漢型ウイルスが来ている為か?The reason for less death toll in Japan is actually due to weaker Wuhan type virus spreading over now in Japan?
4)欧米の死者が多いのは、強毒ウイルスに変異したためか?The reason for larger death tall in Europe and US is due to mutated ferocious virus?
5)2019年の8月時点でウイルスが出現していたのは本当か?Is it true that Corona was already present at the point of Aug 2019?

今後の予想だが、5月末の経済再開とともに、アビガン、クロロキンなどの治療薬も承認され、町医者により早期に処方され、コロナも普通のインフルエンザ並みの病気になるだろう。また第二波だが、抗ウイルス剤であるアビガン、クロロキンは今後ウイルスが変遷しても有効だろう。一方、ワクチンはウイルスの変遷に対応できないようで使い物にならないという意見も多い。この他、イベルメクチン、オルベスコ、アクテムラ等、様々な薬が有効とされている。My forecast from now. As economy is going to reopen from May end, cure medicine such as Avigan, Hydroxychloroquine will be approved and deployed at local clinic level, making Corona as serious as normal influenza. 2nd wave expecting can be tackled by same anti-viral medicine such as Avigan, Hydroxychloroquine even if virus mutates from now. Meanwhile, vaccine development can suffer from such mutation. Besides, there are lots of other cure medicines are on table such as Ivermectin, Orvesco, Actemra.

Tokyo New Infection Daily

Global Infection Development

8306MUFG Daily Chart

NYDOW Daily Chart




2020年5月9日土曜日

AI 株価予測 20200508 の状況8306MUFG Stock Price AI Forecast - 20200508 Status 8306MUFG

AI 株価予測 20200508 の状況8306MUFG

 Stock Price AI Forecast - 20200508 Status 8306MUFG



[前回予測20200501]Previous forecast

注)この投稿はあくまで個人メモです。記事に基づく実際の投資は一切行わないでください。
Caution) This is only for my memo.  Never make any actual investment based on this post.

持ち合い相場は継続し、新値の更新はなく、よって、AI予測に変化はない。There is no change on AI forecast since there is no change on three line break itself due to continuing range trading.

ミクロには三角持ち合いだったのが、上抜けしたが方向は定まらない。Micro movement was triangular coil convergence that was upward broken however, now it is already disoriented.

米国市場の戻り基調は緩やかとなりいつ下落してもおかしくないWトップのチャート形状となっている。しかし、今週出た非常に悪い失業率は織り込み済みで株価は反応しなかった。現状で、大量倒産、大量失業、経済再開後の第二波、中国との関係悪化、原油下落など、目先の悪材料は出尽くしの感がある。The rebound of US market became slower and now in W shape top ready to go down anytime. However, market did not react to bad unemployment rate statistics released this week since it was already anticipated. At this point, market is exhausted for bad news such as massive bankruptcy, huge unemployment, 2nd infection wave, China conflict and Oil market crush.

その一方、GDP10%相当の経済対策が各国で始まっている。また、治療薬なども配備間近となっている。致死率をインフルエンザ程度に抑えることが、経済再開の条件となり、その日も近いと考えられる。Meanwhile, GDP10% scale of economic aids have started in many countries. Remedial medicine looks close to be deployed soon also. The condition of reopening of economy is the reduction of mortality rate down to influenza equivalent, and the day may come soon.

NASDAQはNYダウより戻りが早く、すでにコロナ前、昨年12月のレベルである。NASDAQ rebound is faster than NYDow and is already at last Dec level that is before Corona infection started in US.

コロナと闘う中、その正体と被害の規模、経済復活への道筋は見え始めており、株価はそれを先行して表しているのだろう。While fighting with Corona, we learned what Corona is, the expected damage, and the path to the economic recovery, thus stock market price may be serving as leading indicator.

ただ、大規模な減益、倒産、失業などの経済の大混乱を引き起こした都市封鎖からの回復が株価が示すように急速なものであるかは、にわかには信じがたいものがある。表面的には民間消費減=政府支出増であれば成長率への影響はなくなるが。However, it is not easy to believe that the recovery is so quick as stock price indicates, after lock down that created massive profit reduction, bankruptcy as well as unemployment. Nevertheless, superficially speaking, if consumer consumption reduction = government spending increase, then there will be no impact on GNP growth.

株価の戻りは一服し今後2番底をつけに行く可能性もあるが、今月の事態の進展次第で、戻りが再開する可能性が高い。具体的には5月中に期待できる、日本ではアビガン、米国ではクロロキンの承認および普及による死者の激減と、経済の再開だろう。既に承認された治療薬レムデシビルについては、重症者への効果の事例が出てくることが期待される。Going forward there is a chance to see the stumbling of stock price rebound to seek for 2nd bottom however, I believe there is more chance to keep rebounding depending on the progress during this month.  More concretely, I presume approval of Avigan in Japan as well as Hydroxychloroquine in US, followed by major reduction of mortality rate and reopening of economy, that are expected to happen during May. For Remdesivir, people expect to see recovery stories of Corona patients in serious condition.

経済が再開してくれば、中国との関係悪化、原油下落などは自然と解消していくだろう。また、第二波については治療薬の普及により十分対応可能で、再度経済封鎖などになる可能性は低いと思う。今回のコロナは高齢者の致死率が高く恐ろしいが、人口全体としては、無症状感染者も含めた致死率はさほど高くない。Once economy comes back, relation with China as well as oil market crush will be resolved. The 2nd wave of infection will be well taken care of by cure medicines hence I believe there is low chance of lock down going forward. Immediate Corona's mortality rate for elderly is scary high but no really high for whole population including asymptomatic patients.

今後、コロナ並みの強力な感染力と、エボラ並みの高い致死率を持つ疫病が出現する可能性も残されている。ウイルスのさらなる研究の進展が人類生き残りに不可欠だ。Going forward, there is a chance that we encounter epidemic with high speed infection as Corona while having high mortality as Ebola. Further study on virus is essential for survival of human kind.

2020年5月7日木曜日

コロナ発ハイパーインフレへの道? Way from Corona to Hyper-Inflation?

コロナ発ハイパーインフレへの道?

Way from Corona to Hyper-Inflation?


コロナ対策で各国ともGDPの10%程度の経済支援を行う。この際、国債が発行されるが、印刷された紙幣のヘリコプターマネーでハイパーインフレになるという論理が散見される。Each government is providing financial aid about 10% of GDP. Government bonds are issued however, we see arguments here and there that printed helicopter money generates hyper-inflation.

しかし、現代の中央銀行がQE(量的緩和)に対応して国債を購入している仕組みを考慮すれば、紙幣の印刷は起こらず、ヘリコプターマネーによるハイパーインフレは回避できることが分かる。However, if we consider the mechanism of modern central bank's approach for QE(quantitative easing) when purchasing government bonds, it is clear that such money printing will not happen, hence hyper inflation by helicopter money can be avoided.

下図は現在のFED/ECB/BOJの非常に大まかなバランスシート構造だ。ちょっと前までは、ほぼ$4trだった国債(Government Bond etc)は$2tr増えて$6trになったが、発行紙幣(Central Bank Note)は$1-2trでほぼ変化はない。その代わり、銀行預け金(Bank Deposit etc.)が増えている。QEおよびコロナ対応の国債保有増は、紙幣発行でなく銀行預け金で賄っているため、中央銀行が国債を保有しても、ヘリコプターマネーによるハイパーインフレは発生しない。Below table shows rough balance sheet structure of current FED/ECB/BOJ. Only up until recent, government bond's balance was $4tr but increased $2tr to be $6tn however, Central Bank Note issued remains unchanged around $1-2tr. Instead, we see increase in bank deposit etc. The increase of government bonds for Corona and QE are funded by bank deposits but not by new central bank note issuance, hence even if central bank holds government bonds, no hyper inflation occurs by helicopter money.

ただ、上記case-Aのように、もし何らかの理由で中央銀行が市中から資金を集められない場合、国債購入に対し、中央銀行は新規紙幣を発行する他ない。この場合、本当に新規にお金が刷られていることになり、ハイパーインフレの原因となる。But as in case-A above, for some reason, if central bank cannot get fund from market, central bank has no option but issue new central bank note to purchase government bonds. In such a case, new central bank note is really printed and can be a cause of hyper-inflation. 

また、さらに、上記case-Bの様に、case-Aに加えて国債が満期なし返還不要の永久国債だった場合、政府は返却不要の巨額の資金を手にするため、ハイパーインフレはさらに激しくなる。Furthermore, if just like in case-B above, on top of case-A, the government bond is actually perpetual bond with no maturity and with no obligation to repay, government ends up getting huge fund that it does not need to return, creating hyper-inflation further intense.  

2020年5月1日金曜日

コロナの心理学 Psychology of Corona

コロナの心理学
Psychology of Corona



コロナ治療薬にいくつか候補があり、すでに各所で試されている。現状では、アビガン、ハイドロクロロキン、レムデシビル、オルベスコなどが有効であると考えられている。Corona has several remedy candidates tested already here and there.  Avigan(Favipiravir) , Hydroxychloroquine, Remdesivir and Orbesco are considered to be effective so far.

ただ、正式な承認には時間がかかり、時間をかけている間に死者は増えていく。However, it will take long time for official approval, while death toll is piling up.

薬は殆どが副作用を持つため、一般公衆への利用に際しては通常、厳重に審査する。悲惨な薬害訴訟は長期間に渡る。Most of medicine has side effects in general, hence normally stringent assessment is conducted for public use. Many tragic litigation happened in history taking  long period of time for final judgement.

厳重に審査する理由は、リスク許容度だ。The cause of having stringent assessment is risk tolerance.

仮に、疫病の治療薬があるとする。ただ、0.01%(1万人に一人)の確率で死者が出る。Assume we have a drag to cure damage from epidemic. However there is 0.01%(one out of 10k) mortality rate.

9,999人の命が救われ、1人が死ぬ。この薬を認可するべきだろうか。The lives of 9,999 people are saved while 1 die. Should we approve this medicine?

これは、有名なトロッコ問題に似ている。暴走するトロッコが9,999人めがけて突進している。あなたは分岐点にいて、トロッコの方向を転轍機レバーで変えることができる。あなたが転轍機のレバーを引けば、トロッコを分岐させ9,999人の命は助かる。ところが、分岐先には一人の人がいて、あなたがレバーを引いたことによりその人は死んでしまう。一方、あなたが何もしなければ、9,999人の命は失われる。This resembles to famous torolley  problem. Torolley, that is out of control, is going to run over 9,999 people on the way up. You are standing just beside a switch lever to change direction of trolley. If you pull the lever, trolley will go another direction and 9,999 people's lives will be saved however, a man standing on the another direction will be run over and killed.  On the other hand, if you do nothing, 9,999 people's lives will be lost.

通常の薬は厳重な検査の過程で重篤な副作用の確率がリスク許容度以下の場合に認可する。Normally, medicine is approved under stringent examination process, by checking if fatal side effect rate is below risk tolerance.

しかし、現在、コロナで、あまりにも多くの人が死んでいく局面でどのような対応が良いのだろうか。However, facing outrageous death toll, many may wonder what needs to be done really.

米国で5万人の死者を見ながら、ある人は言う。厳重な審査をしない薬は一般には利用してはいけない。またある人は言う、非常時において、前線に配備する薬は、ある程度の有効性が示されていれば積極的に利用し、死者を減らすべきだ。Seeing US death toll of 50K, one man says no medicine can go public unless approved through stringent examination. Another says, at the time of emergency, if the medicine shows some evidence of effectiveness somewhere else, it should be used at the front line to reduce death toll.

日本ではアビガンという薬が、多くの人の命を救えることがわかってきているのに、正式認定されないため町医者が使うことができず、既に医療崩壊状態だ。病院の受け入れ人数を抑えるため、患者は門前払い状態だ。In Japan, we see that Avigan works in many trials but local clinic still cannot use it since it is not officially approved yet, then this slow action is inviting medical capacity panic. Due to the limitation of hospital capacity, patients are not even accepted to hospitals.

米国では、ヒドロキシクロロキンという薬の有効性が明らかになっているのに、政争の具となり、一般普及が大きく遅れ、5万人を越える死者を出す事態となっている。In US, Hydroxychloroquine's effectiveness is well know in public however, it is politicized and it is not used widely, hence is inviting tragic death toll of 50K.

世界のコロナ対応の現状は直感的には理解しがたい。不意の敵襲(パンデミック)に武器(治療薬)を厳重に検証する時間はない。使えそうな武器(未承認だが実績のある治療薬)で防戦しないと、死亡者が積みあがるのは誰の目にも明らかだ。だが現状は自縄自縛で、不意の敵襲の場合にも、長時間をかけて武器の検証を義務付ける。3か月で勝敗がつく戦争に、9カ月もかけて武器の検証をするのだ。勝敗は悲しいほど明らかだ。Current world's correspondence against Corona is hard to understand. There is no time for stringent check on weapon(cure medicine) upon surprise attack(Pandemic).  Unless you fight against enemy by whatever weapon looks effective(cure medicine that looks working but not approved yet), it is obvious to have death toll piling up.  However currently world is self-trapping by mandating stringent verification of effectiveness of weapon, taking long time, in the midst of surprise attack by enemy. For the 3-month war, we take 9-month to find out the effectiveness of weapon. It is sadly clear who will lose.

認可された薬がない状態で、多くの死者が出ている場合、現場の医師に為すすべはない。パンデミックの場合、他所で有効であった症例がある薬は、厳重な審査を待たず、患者の了承を得て町医者でも利用できるよう法律体系を変えていくことで、医療崩壊を防ぎ、死者を激減させ、経済活動を維持することができる。今回のコロナを機会に、パンデミックの際に適用する医療法規体系を立法していく必要がある。There is no treatment possible for doctor in general if there is no approved remedies even seeing lots of death by the disease. At the time of pandemic, if effectiveness is shown in other places, without waiting for the stringent examination and approval, the cure medicines should be prescribed upon the consent with patients. Legal framework should be changed to facilitate such workaround as legally legitimate.  This should maintain capacity of medical system while also can reduce death toll drastically and keep economic activities. Taking this Corona opportunity, pandemic medical law should be established.